Type alias CreateCollationAnalyzerOptions

CreateCollationAnalyzerOptions: {
    features?: AnalyzerFeature[];
    properties: {
        locale: string;
    };
    type: "collation";
}

Options for creating a Collation Analyzer

Type declaration

  • Optional features?: AnalyzerFeature[]

    Features to enable for this Analyzer.

  • properties: {
        locale: string;
    }

    Additional properties for the Analyzer.

    • locale: string

      Text locale.

      Format: language[_COUNTRY][.encoding][@variant]

  • type: "collation"

    Type of the Analyzer.