Module org.elasticsearch.server
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
ContextMappingthat uses a simple string as a criteria The suggestions are boosted and/or filtered by their associated category (string) value.Builder forCategoryContextMappingDefines the query context forCategoryContextMappingContextBuilder<E extends ContextMapping<?>>Builder forContextMappingContextMapping<T extends ToXContent>AContextMappingdefines 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 definedContextMappings for aCompletionFieldMapperAContextMappingthat uses a geo location/area as a criteria.Defines the query context forGeoContextMapping