Find Similar Records
Find records similar to one record in the same index.
Authentication
AuthorizationBearer
A search key, issued by Captain. Sent as Authorization: Bearer <key>.
OR
AuthorizationBearer
A scoped key for one end user, minted from an issuer key that Captain issues. Sent as Authorization: Bearer <key>.
Path parameters
index
index name
Request
This endpoint expects an object.
id
k
filter
fields
Response
results
hits
total
matching records (with group_by too: records, not groups)
grouped
present when results are grouped. The ranking is today’s, collapsed by the field’s value over the top depth candidates (k x size x 4, at most 100)
facets
facets_exact
facet_set_size
query_id
query_understanding
what the engine understood. Keys appear only when they apply; keys not listed here are diagnostics and may change
constraints_removed
constraints: strict: hits removed because a parsed quantity failed. hits [] with this > 0 means nothing meets the query’s quantities
sort
search with sort: which field and over what set
page
search with page or per_page
facet_query
facet_stats
request
timing