Skip to content

Commit

Permalink
Added missing distinct param in search parameters overview
Browse files Browse the repository at this point in the history
Added missing `distinct` param in search parameters overview table in `reference/api/search.mdx` file

Things to check:
1. Should the default value be `null` string or `""` empty string?
2. If the description is technically correct?

Closes meilisearch#3029
  • Loading branch information
RecreationalMath authored Dec 11, 2024
1 parent 00d08ff commit 8591904
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reference/api/search.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ This is not necessary when using the `POST` route or one of our [SDKs](/learn/re
| **[`page`](#page)** | Integer | `1` | Request a specific page of results |
| **[`filter`](#filter)** | Array of strings | `null` | Filter queries by an attribute's value |
| **[`facets`](#facets)** | Array of strings | `null` | Display the count of matches per facet |
| **[`distinct`](#distinct-attributes-at-search-time)** | String | `null` | limit search to return one (most relevant) document per each value of specified attribute |
| **[`attributesToRetrieve`](#attributes-to-retrieve)** | Array of strings | `["*"]` | Attributes to display in the returned documents |
| **[`attributesToCrop`](#attributes-to-crop)** | Array of strings | `null` | Attributes whose values have to be cropped |
| **[`cropLength`](#crop-length)** | Integer | `10` | Maximum length of cropped value in words |
Expand Down

0 comments on commit 8591904

Please sign in to comment.