Package org.elasticsearch.search.suggest.completion.context
package org.elasticsearch.search.suggest.completion.context
Support for limiting the completion suggesters results to within a "context" like a geographic location or a category.
-
ClassDescriptionA
ContextMapping
that uses a simple string as a criteria The suggestions are boosted and/or filtered by their associated category (string) value.Builder forCategoryContextMapping
Defines the query context forCategoryContextMapping
ContextBuilder<E extends ContextMapping<?>>Builder forContextMapping
ContextMapping<T extends org.elasticsearch.common.xcontent.ToXContent>AContextMapping
defines criteria that can be used to filter and/or boost suggestions at query time forCompletionFieldMapper
.ContextMappings indexes context-enabled suggestion fields and creates context queries for definedContextMapping
s for aCompletionFieldMapper
AContextMapping
that uses a geo location/area as a criteria.Defines the query context forGeoContextMapping