Class AllField.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.AllField.Builder
-
- All Implemented Interfaces:
ObjectBuilder<AllField>
- Enclosing class:
- AllField
public static class AllField.Builder extends ObjectBuilderBase implements ObjectBuilder<AllField>
Builder forAllField
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AllField.Builder
analyzer(java.lang.String value)
Required - API name:analyzer
AllField
build()
Builds aAllField
.AllField.Builder
enabled(boolean value)
Required - API name:enabled
AllField.Builder
omitNorms(boolean value)
Required - API name:omit_norms
AllField.Builder
searchAnalyzer(java.lang.String value)
Required - API name:search_analyzer
AllField.Builder
similarity(java.lang.String value)
Required - API name:similarity
AllField.Builder
store(boolean value)
Required - API name:store
AllField.Builder
storeTermVectorOffsets(boolean value)
Required - API name:store_term_vector_offsets
AllField.Builder
storeTermVectorPayloads(boolean value)
Required - API name:store_term_vector_payloads
AllField.Builder
storeTermVectorPositions(boolean value)
Required - API name:store_term_vector_positions
AllField.Builder
storeTermVectors(boolean value)
Required - API name:store_term_vectors
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
analyzer
public final AllField.Builder analyzer(java.lang.String value)
Required - API name:analyzer
-
enabled
public final AllField.Builder enabled(boolean value)
Required - API name:enabled
-
omitNorms
public final AllField.Builder omitNorms(boolean value)
Required - API name:omit_norms
-
searchAnalyzer
public final AllField.Builder searchAnalyzer(java.lang.String value)
Required - API name:search_analyzer
-
similarity
public final AllField.Builder similarity(java.lang.String value)
Required - API name:similarity
-
store
public final AllField.Builder store(boolean value)
Required - API name:store
-
storeTermVectorOffsets
public final AllField.Builder storeTermVectorOffsets(boolean value)
Required - API name:store_term_vector_offsets
-
storeTermVectorPayloads
public final AllField.Builder storeTermVectorPayloads(boolean value)
Required - API name:store_term_vector_payloads
-
storeTermVectorPositions
public final AllField.Builder storeTermVectorPositions(boolean value)
Required - API name:store_term_vector_positions
-
storeTermVectors
public final AllField.Builder storeTermVectors(boolean value)
Required - API name:store_term_vectors
-
build
public AllField build()
Builds aAllField
.- Specified by:
build
in interfaceObjectBuilder<AllField>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-