SearchQuery
Defined in: search-index/types.ts:32
Properties
text
text: string;Defined in: search-index/types.ts:34
Raw user text.
kinds?
optional kinds?: SearchKind[];Defined in: search-index/types.ts:36
Restrict to these entity kinds; omitted = the provider's default set.
limit?
optional limit?: number;Defined in: search-index/types.ts:38
Max results; the provider applies its own cap when omitted.
restrictTo?
optional restrictTo?: Set<string>;Defined in: search-index/types.ts:44
Hard candidate allow-list (the query-understanding stage): ids outside are dropped, and ids inside must surface even with no textual score of their own (structured-filter matches are a guarantee, not a ranking hint).
weights?
optional weights?: SearchWeights;Defined in: search-index/types.ts:46
Ranking-signal weights (see SearchWeights).
matchMode?
optional matchMode?: "fuzzy" | "prefix" | "exact";Defined in: search-index/types.ts:52
"fuzzy" (default): full relevance ranking (keyword + semantic). "prefix": typeahead over entity labels (prefix-ranked). "exact": exact-token match (e.g. write-time identity resolution).