Class ContextMapping<T extends ToXContent>

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

public abstract class ContextMapping<T extends ToXContent>
extends java.lang.Object
implements 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