Type alias CreateNgramAnalyzerOptions

CreateNgramAnalyzerOptions: CreateAnalyzerOptionsType<"ngram", {
    max: number;
    min: number;
    preserveOriginal: boolean;
}>

Options for creating an Ngram Analyzer.

Type declaration

  • max: number

    Maximum n-gram length.

  • min: number

    Minimum n-gram length.

  • preserveOriginal: boolean

    Output the original value as well.