Package com.ibm.cloud.cloudant.v1.model
Class Analyzer
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.cloudant.v1.model.Analyzer
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Analyzer extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema for a full text search analyzer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Analyzer.Builder
Builder.static interface
Analyzer.Name
Schema for the name of the Apache Lucene analyzer to use for text indexing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Gets the name.Analyzer.Builder
newBuilder()
New builder.List<String>
stopwords()
Gets the stopwords.
-
-
-
Method Detail
-
newBuilder
public Analyzer.Builder newBuilder()
New builder.- Returns:
- a Analyzer 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
-
-