Class TextProperty.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
-
- org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<TextProperty.Builder>
-
- org.opensearch.client.opensearch._types.mapping.TextProperty.Builder
-
- All Implemented Interfaces:
ObjectBuilder<TextProperty>
- Enclosing class:
- TextProperty
public static class TextProperty.Builder extends CorePropertyBase.AbstractBuilder<TextProperty.Builder> implements ObjectBuilder<TextProperty>
Builder forTextProperty
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TextProperty.Builder
analyzer(java.lang.String value)
API name:analyzer
TextProperty.Builder
boost(java.lang.Double value)
API name:boost
TextProperty
build()
Builds aTextProperty
.TextProperty.Builder
eagerGlobalOrdinals(java.lang.Boolean value)
API name:eager_global_ordinals
TextProperty.Builder
fielddata(java.lang.Boolean value)
API name:fielddata
TextProperty.Builder
fielddataFrequencyFilter(java.util.function.Function<FielddataFrequencyFilter.Builder,ObjectBuilder<FielddataFrequencyFilter>> fn)
API name:fielddata_frequency_filter
TextProperty.Builder
fielddataFrequencyFilter(FielddataFrequencyFilter value)
API name:fielddata_frequency_filter
TextProperty.Builder
index(java.lang.Boolean value)
API name:index
TextProperty.Builder
indexOptions(IndexOptions value)
API name:index_options
TextProperty.Builder
indexPhrases(java.lang.Boolean value)
API name:index_phrases
TextProperty.Builder
indexPrefixes(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> fn)
API name:index_prefixes
TextProperty.Builder
indexPrefixes(TextIndexPrefixes value)
API name:index_prefixes
TextProperty.Builder
norms(java.lang.Boolean value)
API name:norms
TextProperty.Builder
positionIncrementGap(java.lang.Integer value)
API name:position_increment_gap
TextProperty.Builder
searchAnalyzer(java.lang.String value)
API name:search_analyzer
TextProperty.Builder
searchQuoteAnalyzer(java.lang.String value)
API name:search_quote_analyzer
protected TextProperty.Builder
self()
TextProperty.Builder
termVector(TermVectorOption value)
API name:term_vector
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, store
-
Methods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, localMetadata, localMetadata, meta, meta, name, properties, properties, properties
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
analyzer
public final TextProperty.Builder analyzer(@Nullable java.lang.String value)
API name:analyzer
-
boost
public final TextProperty.Builder boost(@Nullable java.lang.Double value)
API name:boost
-
eagerGlobalOrdinals
public final TextProperty.Builder eagerGlobalOrdinals(@Nullable java.lang.Boolean value)
API name:eager_global_ordinals
-
fielddata
public final TextProperty.Builder fielddata(@Nullable java.lang.Boolean value)
API name:fielddata
-
fielddataFrequencyFilter
public final TextProperty.Builder fielddataFrequencyFilter(@Nullable FielddataFrequencyFilter value)
API name:fielddata_frequency_filter
-
fielddataFrequencyFilter
public final TextProperty.Builder fielddataFrequencyFilter(java.util.function.Function<FielddataFrequencyFilter.Builder,ObjectBuilder<FielddataFrequencyFilter>> fn)
API name:fielddata_frequency_filter
-
index
public final TextProperty.Builder index(@Nullable java.lang.Boolean value)
API name:index
-
indexOptions
public final TextProperty.Builder indexOptions(@Nullable IndexOptions value)
API name:index_options
-
indexPhrases
public final TextProperty.Builder indexPhrases(@Nullable java.lang.Boolean value)
API name:index_phrases
-
indexPrefixes
public final TextProperty.Builder indexPrefixes(@Nullable TextIndexPrefixes value)
API name:index_prefixes
-
indexPrefixes
public final TextProperty.Builder indexPrefixes(java.util.function.Function<TextIndexPrefixes.Builder,ObjectBuilder<TextIndexPrefixes>> fn)
API name:index_prefixes
-
norms
public final TextProperty.Builder norms(@Nullable java.lang.Boolean value)
API name:norms
-
positionIncrementGap
public final TextProperty.Builder positionIncrementGap(@Nullable java.lang.Integer value)
API name:position_increment_gap
-
searchAnalyzer
public final TextProperty.Builder searchAnalyzer(@Nullable java.lang.String value)
API name:search_analyzer
-
searchQuoteAnalyzer
public final TextProperty.Builder searchQuoteAnalyzer(@Nullable java.lang.String value)
API name:search_quote_analyzer
-
termVector
public final TextProperty.Builder termVector(@Nullable TermVectorOption value)
API name:term_vector
-
self
protected TextProperty.Builder self()
- Specified by:
self
in classPropertyBase.AbstractBuilder<TextProperty.Builder>
-
build
public TextProperty build()
Builds aTextProperty
.- Specified by:
build
in interfaceObjectBuilder<TextProperty>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-