BeechCMS / @beechcms/search-client / SearchClientOptions
Interface: SearchClientOptions
Properties
debounceMs?
optionaldebounceMs?:number
dimensions?
optionaldimensions?:number
onEmbedError?
optionalonEmbedError?: (error) =>void
Called when the semantic tier fails; search() still resolves with the lexical results. Without it, a 401/403 (missing or wrong key) is logged with console.warn.
Parameters
error
Returns
void
publishableKey?
optionalpublishableKey?:string
Publishable key (beech_pk_…), sent as X-API-Key on the embed and index requests: those routes sit behind the Public API key check. A secret key (beech_sk_…) is refused.