Skip to content

Commit eacfca2

Browse files
authored
feat(neural): make eventSources nullable (#1453)
1 parent 5159f61 commit eacfca2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,10 @@ export type Settings = {
315315
* These settings are only used when the mode is set to 'neuralSearch'.
316316
*/
317317
readonly semanticSearch?: {
318-
readonly eventSources?: readonly string[];
318+
/**
319+
* When null, the current index / replica group will be used as the event source.
320+
*/
321+
readonly eventSources?: readonly string[] | null;
319322
};
320323

321324
/**

0 commit comments

Comments
 (0)