SearchQuery
Selects indexed Items by full-text term, by facets, or both.
Remarks
Section titled “Remarks”With neither term nor facets, every Item in the index matches, which is how a picker
obtains its default list. When both are given, an Item must satisfy both.
SearchIndexContext for how an index handler produces the text and facets matched here
Properties
Section titled “Properties”facets?
Section titled “facets?”
readonlyoptionalfacets?: readonlystring[]
Facet values every matching Item must carry, in the key:value form produced by the index
handler, such as uuid:<id> or email:<address>.
Default Value
Section titled “Default Value”undefined; no facet filter.
readonlyoptionalterm?:string
Free text to match against the indexed text. Surrounding whitespace is ignored and matching
is case-insensitive. A single word matches as a prefix; a term containing spaces, quotes,
+, or - uses web-search syntax, so "Hello World" matches the phrase and
+Hello -Other requires and excludes words.
Default Value
Section titled “Default Value”undefined; only facets constrain the result.

