Skip to content

Commit 89fd80e

Browse files
authored
feat: add mode to settings types (#1439)
1 parent 35e9858 commit 89fd80e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/client-search/src/types/Settings.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ export type Settings = {
305305
*/
306306
readonly relevancyStrictness?: number;
307307

308+
/**
309+
* The search mode that the index will use to query for results.
310+
*/
311+
readonly mode?: 'neuralSearch' | 'keywordSearch';
312+
308313
/**
309314
* Content defining how the search interface should be rendered.
310315
* This is set via the settings for a default value and can be overridden via rules

0 commit comments

Comments
 (0)