Class SearchAsYouTypeProperty.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
co.elastic.clients.elasticsearch._types.mapping.SearchAsYouTypeProperty.Builder
- All Implemented Interfaces:
WithJson<SearchAsYouTypeProperty.Builder>,ObjectBuilder<SearchAsYouTypeProperty>
- Enclosing class:
- SearchAsYouTypeProperty
public static class SearchAsYouTypeProperty.Builder
extends CorePropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
implements ObjectBuilder<SearchAsYouTypeProperty>
Builder for
SearchAsYouTypeProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAPI name:analyzerbuild()Builds aSearchAsYouTypeProperty.API name:indexindexOptions(IndexOptions value) API name:index_optionsmaxShingleSize(Integer value) API name:max_shingle_sizeAPI name:normssearchAnalyzer(String value) API name:search_analyzersearchQuoteAnalyzer(String value) API name:search_quote_analyzerprotected SearchAsYouTypeProperty.Builderself()termVector(TermVectorOption value) API name:term_vectorMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class co.elastic.clients.elasticsearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
analyzer
API name:analyzer -
index
API name:index -
indexOptions
API name:index_options -
maxShingleSize
API name:max_shingle_size -
norms
API name:norms -
searchAnalyzer
API name:search_analyzer -
searchQuoteAnalyzer
API name:search_quote_analyzer -
termVector
API name:term_vector -
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<SearchAsYouTypeProperty.Builder>
-
build
Builds aSearchAsYouTypeProperty.- Specified by:
buildin interfaceObjectBuilder<SearchAsYouTypeProperty>- Throws:
NullPointerException- if some of the required fields are null.
-