ANN-search
Search for nearest vectors to specified vector. Instead of specifying vector: <array> you can search for similar documents directly by setting id: <document_id> instead
| Request Body |
|---|
ids string[]Get documents close to the specified document. Provide either |
vectors array[]Get documents close to the vector. The length of the vector must be equal to the dimension specified in the index |
max_neighbors number — REQUIREDPossible values: 1 ≤ value Maximal number of neighbors to include in response |
field_name string — REQUIREDPossible values: 3 ≤ length ≤ 20, Value must match regular expression This parameter specifies the index to perform the query in |
| Responses | |||
|---|---|---|---|
200Insertion successful
| |||
defaulterror
|