Package | Description |
---|---|
org.elasticsearch.search.suggest.completion | |
org.elasticsearch.search.suggest.context |
Modifier and Type | Method and Description |
---|---|
List<ContextMapping.ContextQuery> |
CompletionSuggestionContext.getContextQueries() |
Modifier and Type | Method and Description |
---|---|
void |
CompletionSuggestionContext.setContextQuery(List<ContextMapping.ContextQuery> queries) |
Modifier and Type | Method and Description |
---|---|
abstract ContextMapping.ContextQuery |
ContextMapping.parseQuery(String name,
XContentParser parser)
Parse a query according to the context.
|
Modifier and Type | Method and Description |
---|---|
static List<ContextMapping.ContextQuery> |
ContextMapping.ContextQuery.parseQueries(Map<String,ContextMapping> mappings,
XContentParser parser)
Parse a set of
ContextMapping.ContextQuery according to a given mapping |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.util.automaton.Automaton |
ContextMapping.ContextQuery.toAutomaton(boolean preserveSep,
Iterable<ContextMapping.ContextQuery> queries)
Create a automaton for a given context query this automaton will be used
to find the matching paths with the fst
|
Copyright © 2009–2015. All rights reserved.