![]() ![]() Geospatial search uses a filter to pass coordinates of the current location in "find near me" apps and functions that match within an area or by distance.Faceted navigation uses a filter to pass back the facet category selected by the user.Implement a search experience comes with a filter dependency: Given a schema with hotel location, categories, and amenities, you might create a filter to explicitly match on criteria (in Seattle, on the water, with a view). Slice search results based on content in the index. It's the filter attached to the search query that provides the geolocation coordinates, the facet category selected by the user, or the security ID of the requestor. If you implement any one of these experiences, a filter is required. When to use a filterįilters are foundational to several search experiences, including "find near me" geospatial search, faceted navigation, and security filters that show only those documents a user is allowed to see. In contrast with full text search, a filter succeeds only if the match is exact. A field definition must be attributed as "filterable" if you want to use it in filter expressions.Ī filter is specified using OData filter expression syntax. Filters are specified on individual fields. For example, including or excluding documents based on dates, locations, or language. A filter provides value-based criteria for including or excluding content before query execution.
0 Comments
Leave a Reply. |