Class AnalyzerConfiguration

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.AnalyzerConfiguration
All Implemented Interfaces:
ObjectModel

public class AnalyzerConfiguration extends GenericModel
Analyzer configuration for search indexes. The default and fields properties are only applicable for the `perfield` analyzer name.
  • Method Details

    • newBuilder

      public AnalyzerConfiguration.Builder newBuilder()
      New builder.
      Returns:
      a AnalyzerConfiguration builder
    • name

      public String name()
      Gets the name. 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`.
      Returns:
      the name
    • stopwords

      public List<String> stopwords()
      Gets the stopwords. Custom stopwords to use with the named analyzer.
      Returns:
      the stopwords
    • xDefault

      public Analyzer xDefault()
      Gets the xDefault. Schema for a full text search analyzer.
      Returns:
      the xDefault
    • fields

      public Map<String,Analyzer> fields()
      Gets the fields. Schema for mapping a field name to a per field analyzer.
      Returns:
      the fields