Class ContextBuilder<E extends ContextMapping<?>>
java.lang.Object
org.opensearch.search.suggest.completion.context.ContextBuilder<E>
- Direct Known Subclasses:
CategoryContextMapping.Builder
,GeoContextMapping.Builder
Builder for
ContextMapping
- Opensearch.internal:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract E
build()
Create a newCategoryContextMapping
static GeoContextMapping.Builder
Create a newGeoContextMapping
-
Field Details
-
name
-
-
Constructor Details
-
ContextBuilder
- Parameters:
name
- of the context mapper to build
-
-
Method Details
-
build
-
geo
Create a newGeoContextMapping
-
category
Create a newCategoryContextMapping
-