Skip to content

Commit 42dfdcb

Browse files
address reviewer feedback
1 parent 70f3281 commit 42dfdcb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/api/settings.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ Filterable attribute objects must contain the following fields:
699699
| Name | Type | Default value | Description |
700700
| ----------------------- | ---------------- | ------------- | -------------------------------------------------------- |
701701
| **`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 |
703703

704704
#### `attributePatterns`
705705

@@ -716,10 +716,10 @@ Attribute patterns may begin or end with a * wildcard to match multiple fields:
716716

717717
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.
718718

719-
<Capsule intent="warning" title="_geo field">
720-
Use the simple string syntax to match the reserved attribute `_geo`.
719+
<Capsule intent="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`.
721721

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 `_*`.
723723
</Capsule>
724724

725725
### Get filterable attributes

0 commit comments

Comments
 (0)