Class ContextMapping<T extends ToXContent>

All Implemented Interfaces:
ToXContent, ToXContentFragment
Direct Known Subclasses:
CategoryContextMapping, GeoContextMapping

public abstract class ContextMapping<T extends ToXContent> extends 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