Type Alias TrieSearchReducerData<T>
TrieSearchReducerData <T>: {
ignoreCasePhrase: string;
index: number;
matches: T[];
phrase: string;
words: string[];
}
ignoreCasePhrase: string;
index: number;
matches: T[];
phrase: string;
words: string[];
}
Type Parameters
Type declaration
ignore
Case : stringPhrase The phrase after TrieSearchOptions.ignoreCase applied.
index: number
The current phrase index.
matches: T[]
Matches found from the current phrase.
phrase: string
The original phrase.
words: string[]
The split words from the phrase.
Data provided when reducing a batch of matches.