TrieSearchReducerData<T>: {
    ignoreCasePhrase: string;
    index: number;
    matches: T[];
    phrase: string;
    words: string[];
}

Data provided when reducing a batch of matches.

Type Parameters

  • T

Type declaration

  • ignoreCasePhrase: string

    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.