Skip to main content

Document search

POST 

/spaces/:qid/documents/search

Returns documents in the given space matching the supplied filters (websearch-style text matches, AND'd; each optionally scoped to a field via field, else matching any field). Optional column filters: qid, track, start/end time bounds. When vector is set (must match the space dimension), matching documents are ordered by their best associated vector distance and each result carries a distance; otherwise they are ordered by text rank and carry a score. Set include_match_info (with a vector) to attach each result's top-scoring vector under match_info. Requires content access for the space qid.

Request

Responses

OK