Grooper Help - Version 25.0
25.0.0032 2,215

Geo Distance Filter

Search Filter Grooper.GPT

Represents a geographic distance filter for search queries, matching records based on proximity to a specified point.

Remarks

The GeoDistanceFilter enables filtering of search results by comparing the distance between a geographic field's value and a specified point. This filter is commonly used in AI Search scenarios to find documents or records located within a certain distance from a given latitude and longitude.

Usage

  • Add a GeoDistanceFilter to a search query to restrict results to those where the specified field's value (such as a GeoPoint) is within a certain distance of the provided coordinates.
  • Configure the 'Field Name' property to identify the field containing geographic data to be compared.
  • Set the 'Latitude' and 'Longitude' properties to define the center point for the distance calculation.
  • Use the 'Operator' property to specify the comparison (e.g., less than, greater than) and the 'Distance' property to set the threshold.
  • The filter generates an OData-compatible geo.distance expression for use with supported search indexes.

Configuration Guidance

  • Ensure the target field is indexed and stores geographic data in a compatible format (e.g., GeoPoint).
  • The latitude and longitude should use the same coordinate system as the field values.
  • Use this filter to support spatial queries such as proximity search, service area lookup, or location-based document retrieval.

The GeoDistanceFilter enables advanced spatial filtering in Grooper's search infrastructure, supporting proximity-based document and data retrieval.

Properties

NameTypeDescription

Used By

Notification