Type alias CreateStopwordsAnalyzerOptions

CreateStopwordsAnalyzerOptions: {
    features?: AnalyzerFeature[];
    properties: {
        hex?: boolean;
        stopwords: string[];
    };
    type: "stopwords";
}

Options for creating a Stopwords Analyzer

Type declaration

  • Optional features?: AnalyzerFeature[]

    Features to enable for this Analyzer.

  • properties: {
        hex?: boolean;
        stopwords: string[];
    }

    Additional properties for the Analyzer.

    • Optional hex?: boolean

      Whether stopword values should be interpreted as hex-encoded strings.

      Default: false

    • stopwords: string[]

      Array of strings that describe the tokens to be discarded.

  • type: "stopwords"

    Type of the Analyzer.