Class ContextBuilder<E extends ContextMapping<?>>
org.elasticsearch.search.suggest.completion.context.ContextBuilder<E>
- Direct Known Subclasses:
CategoryContextMapping.Builder
,GeoContextMapping.Builder
Builder for
ContextMapping
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
name)
-
Method Summary
Modifier and TypeMethodDescriptionabstract E
build()
name)
Create a newCategoryContextMapping
static GeoContextMapping.Builder
name)
Create a newGeoContextMapping
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Field Details
-
name
protected name
-
-
Constructor Details
-
ContextBuilder
protected ContextBuilder( name)- Parameters:
name
- of the context mapper to build
-
-
Method Details
-
build
-
geo
public static name)Create a newGeoContextMapping
-
category
public static name)Create a newCategoryContextMapping
-