Type alias TextAnalyzerDescription

TextAnalyzerDescription: GenericAnalyzerDescription & {
    properties: {
        accent: boolean;
        case: "lower" | "none" | "upper";
        edgeNgram: {
            max: number;
            min: number;
            preserveOriginal: boolean;
        };
        locale: string;
        stemming: boolean;
        stopwords: string[];
        stopwordsPath: string;
    };
    type: "text";
}

An object describing a Text Analyzer.

Type declaration

  • properties: {
        accent: boolean;
        case: "lower" | "none" | "upper";
        edgeNgram: {
            max: number;
            min: number;
            preserveOriginal: boolean;
        };
        locale: string;
        stemming: boolean;
        stopwords: string[];
        stopwordsPath: string;
    }
    • accent: boolean
    • case: "lower" | "none" | "upper"
    • edgeNgram: {
          max: number;
          min: number;
          preserveOriginal: boolean;
      }
      • max: number
      • min: number
      • preserveOriginal: boolean
    • locale: string
    • stemming: boolean
    • stopwords: string[]
    • stopwordsPath: string
  • type: "text"