@ibm-cloud/cloudant - v0.12.14
    Preparing search index...

    Class AnalyzerConfiguration

    Analyzer configuration for search indexes. The default and fields properties are only applicable for the perfield analyzer name.

    Index

    Constructors

    Properties

    Schema for a full text search analyzer.

    fields?: { [key: string]: CloudantV1.Analyzer }

    Schema for mapping a field name to a per field analyzer.

    name: string

    Schema for the name of the Apache Lucene analyzer to use for text indexing. The default value varies depending on the analyzer usage:

    • For search indexes the default is standard
    • For query text indexes the default is keyword
    • For a query text index default_field the default is standard.
    stopwords?: string[]

    Custom stopwords to use with the named analyzer.

    Methods