Class CategoryContextMapping

java.lang.Object
org.elasticsearch.search.suggest.completion.context.ContextMapping<CategoryQueryContext>
org.elasticsearch.search.suggest.completion.context.CategoryContextMapping
All Implemented Interfaces:
ToXContent, ToXContentFragment

public class CategoryContextMapping
extends ContextMapping<CategoryQueryContext>
A ContextMapping that uses a simple string as a criteria The suggestions are boosted and/or filtered by their associated category (string) value. CategoryQueryContext defines options for constructing a unit of query context for this context type