Type alias CreateWildcardAnalyzerOptions

CreateWildcardAnalyzerOptions: {
    features?: AnalyzerFeature[];
    properties: {
        analyzer?: Omit<CreateAnalyzerOptions, "features">;
        ngramSize: string;
    };
    type: "wildcard";
}

Options for creating a Wildcard Analyzer.

Type declaration

  • Optional features?: AnalyzerFeature[]

    Features to enable for this Analyzer.

  • properties: {
        analyzer?: Omit<CreateAnalyzerOptions, "features">;
        ngramSize: string;
    }

    Additional properties for the Analyzer.

    • Optional analyzer?: Omit<CreateAnalyzerOptions, "features">

      An Analyzer definition-like object with type and properties attributes.

    • ngramSize: string

      N-gram length. Must be a positive integer greater than or equal to 2.

  • type: "wildcard"

    Type of the Analyzer.