Interface: SearchOptions
Options accepted by a single-index search.
Properties
Section titled “Properties”columns?
Section titled “columns?”
optionalcolumns?: readonlystring[]
Columns to return per hit. Defaults to the index’s configured columns.
filter?
Section titled “filter?”
optionalfilter?:Record<string,string|number|boolean| (string|number)[]>
AppKit AI Search scalar/array filters.
limit?
Section titled “limit?”
optionallimit?:number
Maximum hits to return. Defaults to the configured page size.
optionalmode?:"hybrid"|"vector"|"keyword"
Match mode. Defaults to the configured mode (hybrid).
scoreThreshold?
Section titled “scoreThreshold?”
optionalscoreThreshold?:number
Drop hits below this score.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
External cancellation.