You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: reference/api/search.mdx
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ By default, [this endpoint returns a maximum of 1000 results](/learn/resources/k
59
59
|**[`hybrid`](#hybrid-search-experimental)**| Object |`null`| Return results based on query keywords and meaning |
60
60
|**[`vector`](#vector-experimental)**| Array of numbers |`null`| Search using a custom query vector |
61
61
|**[`retrieveVectors`](#display-_vectors-in-response-experimental)**| Boolean |`false`| Return document vector data |
62
-
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly language used in a query|
62
+
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly specify languages used in a query |
63
63
64
64
[Learn more about how to use each search parameter](#search-parameters).
65
65
@@ -173,7 +173,7 @@ By default, [this endpoint returns a maximum of 1000 results](/learn/resources/k
173
173
|**[`hybrid`](#hybrid-search-experimental)**| Object |`null`| Return results based on query keywords and meaning |
174
174
|**[`vector`](#vector-experimental)**| Array of numbers |`null`| Search using a custom query vector |
175
175
|**[`retrieveVectors`](#display-_vectors-in-response-experimental)**| Boolean |`false`| Return document vector data |
176
-
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly language used in a query|
176
+
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly specify languages used in a query |
177
177
178
178
[Learn more about how to use each search parameter](#search-parameters).
179
179
@@ -248,6 +248,7 @@ This is not necessary when using the `POST` route or one of our [SDKs](/learn/re
248
248
|**[`page`](#page)**| Integer |`1`| Request a specific page of results |
249
249
|**[`filter`](#filter)**| Array of strings |`null`| Filter queries by an attribute's value |
250
250
|**[`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. |
251
252
|**[`attributesToRetrieve`](#attributes-to-retrieve)**| Array of strings |`["*"]`| Attributes to display in the returned documents |
252
253
|**[`attributesToCrop`](#attributes-to-crop)**| Array of strings |`null`| Attributes whose values have to be cropped |
253
254
|**[`cropLength`](#crop-length)**| Integer |`10`| Maximum length of cropped value in words |
@@ -263,7 +264,7 @@ This is not necessary when using the `POST` route or one of our [SDKs](/learn/re
263
264
|**[`hybrid`](#hybrid-search-experimental)**| Object |`null`| Return results based on query keywords and meaning |
264
265
|**[`vector`](#vector-experimental)**| Array of numbers |`null`| Search using a custom query vector |
265
266
|**[`retrieveVectors`](#display-_vectors-in-response-experimental)**| Boolean |`false`| Return document vector data |
266
-
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly language used in a query|
267
+
|**[`locales`](#query-locales)**| Array of strings |`null`| Explicitly specify languages used in a query |
0 commit comments