Data provided when reducing a batch of matches.

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

Type Parameters

  • T
Index

Properties

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.