Interface: UseSearchOptions
Options for useSearch.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”debounceMs?
Section titled “debounceMs?”
optionaldebounceMs?:number
Debounce in ms before a keystroke triggers a request. Defaults to 200.
index?
Section titled “index?”
optionalindex?:string
Which index to search (name or alias). Defaults to the plugin’s default index.
limit?
Section titled “limit?”
optionallimit?:number
Max hits to request. Defaults to the plugin’s configured page size.
minLength?
Section titled “minLength?”
optionalminLength?:number
Minimum query length before searching. Defaults to 1.
optionalmode?:"hybrid"|"vector"|"keyword"
Match mode. Defaults to the plugin’s configured mode.
universal?
Section titled “universal?”
optionaluniversal?:boolean
Search every configured index and merge results (universal search).