Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Commit a1cac76

Browse files
committed
Specify order of returned facet
1 parent 855588f commit a1cac76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

text/157-faceting-setting-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ This settings will host the parameters to configure the faceting behavior for an
2424
- Required: False
2525
- Default: `100`
2626

27-
Define maximum number of value returned for a distributed facet.
27+
Define maximum number of value returned for all distributed facets.
2828

29-
e.g. It means that with the default value of `100`, it is not possible to have `101` colors if the color field is defined as a facet at search time.
29+
e.g. It means that with the default value of `100`, it is not possible to have `101` different colors if the `color` field is defined as a facet at search time.
3030

3131
The value of 100 ensures good performance and prevents malicious users from scraping data from a Meilisearch instance.
3232

3333
Increasing this value can degrade performance as well as expose the data of an instance to scrapping.
3434

35-
The facets that are returned are not specified, they are not sorted in a particular way.
35+
The facets that are returned are sorted in ascending lexicographical order.
3636

3737
## 3.2. API Endpoints Definition
3838

0 commit comments

Comments
 (0)