Deprecated
Searches Documents in a DocumentCollection
Searches over documents in a collection based on provided search criteria. One of text or metadata must be provided. Returns an empty list if no documents are found.
Path parameters
collectionName
Name of the Document Collection
Headers
Authorization
Header authentication of the form Api-Key <token>
Query parameters
limit
Limit the number of returned documents
Request
This endpoint expects an object.
metadata
Document metadata to filter on.
min_score
mmr_lambda
The lambda parameter for the MMR Reranking Algorithm.
search_type
The type of search to perform. Defaults to “similarity”. Must be one of “similarity” or “mmr”.
Allowed values:
text
The search text.
Response
OK
current_page
query_vector
result_count
results
total_pages