Schema for a search analyzer configuration.

Constructors

Properties

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