Skip to content

Commit

Permalink
Added missing distinct param in search parameters overview (#3073)
Browse files Browse the repository at this point in the history
  • Loading branch information
RecreationalMath authored Jan 14, 2025
1 parent 3f6d3b8 commit 6288c48
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` | Restrict search to documents with unique values of the attribute defined as distinct. |
| **[`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 6288c48

Please sign in to comment.