Skip to content

Commit

Permalink
feat(neural): make eventSources nullable (#1453)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhawke committed Apr 3, 2023
1 parent 5159f61 commit eacfca2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/client-search/src/types/Settings.ts
Expand Up @@ -315,7 +315,10 @@ export type Settings = {
* These settings are only used when the mode is set to 'neuralSearch'.
*/
readonly semanticSearch?: {
readonly eventSources?: readonly string[];
/**
* When null, the current index / replica group will be used as the event source.
*/
readonly eventSources?: readonly string[] | null;
};

/**
Expand Down

0 comments on commit eacfca2

Please sign in to comment.