You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**`attributePatterns`**| Array of strings |`[]`| A list of strings indicating filterable fields |
702
-
|**`features`**| Object |`{}`| A list outlining filter types enabled for the specified attributes |
702
+
|**`features`**| Object |`{"facetSearch": false, "filters": {"equality": true, "comparison": false}`| A list outlining filter types enabled for the specified attributes |
703
703
704
704
#### `attributePatterns`
705
705
@@ -716,10 +716,10 @@ Attribute patterns may begin or end with a * wildcard to match multiple fields:
716
716
717
717
Calculating `comparison` filters is a resource-intensive operation. Disabling them may lead to better search and indexing performance. `equality` filters use fewer resources and have limited impact on performance.
718
718
719
-
<Capsuleintent="warning"title="_geo field">
720
-
Use the simple string syntax to match the reserved attribute `_geo`.
719
+
<Capsuleintent="warning"title="Filterable attributes and reserved attributes">
720
+
Use the simple string syntax to match reserved attributes. Reserved Meilisearch fields are always prefixed with an underscore (`_`), such as `_geo` and `_vector`.
721
721
722
-
If set as a filterable attribute, `_geo` ignores the `features` field and automatically activates all search features. `_geo` also will not be matched by wildcard `attributePatterns` such as `_*`.
722
+
If set as a filterable attribute, reserved attributes ignore the `features` field and automatically activate all search features. Reserved fields will not be matched by wildcard `attributePatterns` such as `_*`.
0 commit comments