Skip to content

Commit 6288c48

Browse files
Added missing distinct param in search parameters overview (#3073)
1 parent 3f6d3b8 commit 6288c48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/api/search.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ This is not necessary when using the `POST` route or one of our [SDKs](/learn/re
248248
| **[`page`](#page)** | Integer | `1` | Request a specific page of results |
249249
| **[`filter`](#filter)** | Array of strings | `null` | Filter queries by an attribute's value |
250250
| **[`facets`](#facets)** | Array of strings | `null` | Display the count of matches per facet |
251+
| **[`distinct`](#distinct-attributes-at-search-time)** | String | `null` | Restrict search to documents with unique values of the attribute defined as distinct. |
251252
| **[`attributesToRetrieve`](#attributes-to-retrieve)** | Array of strings | `["*"]` | Attributes to display in the returned documents |
252253
| **[`attributesToCrop`](#attributes-to-crop)** | Array of strings | `null` | Attributes whose values have to be cropped |
253254
| **[`cropLength`](#crop-length)** | Integer | `10` | Maximum length of cropped value in words |

0 commit comments

Comments
 (0)