Class CategoryContextMapping.Builder
org.elasticsearch.search.suggest.completion.context.ContextBuilder<CategoryContextMapping>
org.elasticsearch.search.suggest.completion.context.CategoryContextMapping.Builder
- Enclosing class:
- CategoryContextMapping
Builder for
CategoryContextMapping
-
Field Summary
Fields inherited from class org.elasticsearch.search.suggest.completion.context.ContextBuilder
name
-
Constructor Summary
-
Method Summary
Methods inherited from class org.elasticsearch.search.suggest.completion.context.ContextBuilder
category, geo
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
Builder
public Builder( name)Create a builder for a namedCategoryContextMapping
- Parameters:
name
- name of the mapping
-
-
Method Details
-
field
public fieldName)Set the name of the field to use -
build
- Specified by:
build
in classContextBuilder<CategoryContextMapping>
-