Skip to content

Commit

Permalink
feat: add mode to settings types (#1439)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhawke committed Mar 2, 2023
1 parent 35e9858 commit 89fd80e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/client-search/src/types/Settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,11 @@ export type Settings = {
*/
readonly relevancyStrictness?: number;

/**
* The search mode that the index will use to query for results.
*/
readonly mode?: 'neuralSearch' | 'keywordSearch';

/**
* Content defining how the search interface should be rendered.
* This is set via the settings for a default value and can be overridden via rules
Expand Down

0 comments on commit 89fd80e

Please sign in to comment.