Class ContextMapping<T extends org.elasticsearch.common.xcontent.ToXContent>

java.lang.Object
org.elasticsearch.search.suggest.completion.context.ContextMapping<T>
All Implemented Interfaces:
org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment
Direct Known Subclasses:
CategoryContextMapping, GeoContextMapping

public abstract class ContextMapping<T extends org.elasticsearch.common.xcontent.ToXContent> extends Object implements org.elasticsearch.common.xcontent.ToXContentFragment
A ContextMapping defines criteria that can be used to filter and/or boost suggestions at query time for CompletionFieldMapper. Implementations have to define how contexts are parsed at query/index time