Package | Description |
---|---|
org.elasticsearch.index.mapper.core | |
org.elasticsearch.search.suggest.context |
Modifier and Type | Method and Description |
---|---|
SortedMap<String,ContextMapping> |
CompletionFieldMapper.CompletionFieldType.getContextMapping()
Get the context mapping associated with this completion field
|
Modifier and Type | Method and Description |
---|---|
CompletionFieldMapper.Builder |
CompletionFieldMapper.Builder.contextMapping(SortedMap<String,ContextMapping> contextMapping) |
void |
CompletionFieldMapper.CompletionFieldType.setContextMapping(SortedMap<String,ContextMapping> contextMapping) |
Modifier and Type | Class and Description |
---|---|
class |
ContextBuilder<E extends ContextMapping> |
Modifier and Type | Class and Description |
---|---|
class |
CategoryContextMapping
The
CategoryContextMapping is used to define a ContextMapping that
references a field within a document. |
class |
GeolocationContextMapping
The
GeolocationContextMapping allows to take GeoInfomation into account
during building suggestions. |
Modifier and Type | Field and Description |
---|---|
static SortedMap<String,ContextMapping> |
ContextMapping.EMPTY_MAPPING
Dummy Context Mapping that should be used if no context is used
|
Modifier and Type | Method and Description |
---|---|
protected static ContextMapping |
ContextBuilder.loadMapping(String name,
Map<String,Object> config,
Version indexVersionCreated) |
Modifier and Type | Method and Description |
---|---|
static SortedMap<String,ContextMapping> |
ContextBuilder.loadMappings(Object configuration,
Version indexVersionCreated) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ContextMapping.mappingsAreEqual(SortedMap<String,? extends ContextMapping> thisMappings,
SortedMap<String,? extends ContextMapping> otherMappings)
Test equality of two mapping
|
static boolean |
ContextMapping.mappingsAreEqual(SortedMap<String,? extends ContextMapping> thisMappings,
SortedMap<String,? extends ContextMapping> otherMappings)
Test equality of two mapping
|
static List<ContextMapping.ContextQuery> |
ContextMapping.ContextQuery.parseQueries(Map<String,ContextMapping> mappings,
XContentParser parser)
Parse a set of
ContextMapping.ContextQuery according to a given mapping |
Copyright © 2009–2016. All rights reserved.