public final class PhraseSuggestParser extends Object implements SuggestContextParser
Constructor and Description |
---|
PhraseSuggestParser(PhraseSuggester suggester) |
Modifier and Type | Method and Description |
---|---|
SuggestionSearchContext.SuggestionContext |
parse(XContentParser parser,
MapperService mapperService,
IndexQueryParserService queryParserService,
HasContextAndHeaders headersContext) |
void |
parseSmoothingModel(XContentParser parser,
org.elasticsearch.search.suggest.phrase.PhraseSuggestionContext suggestion,
String fieldName) |
public PhraseSuggestParser(PhraseSuggester suggester)
public SuggestionSearchContext.SuggestionContext parse(XContentParser parser, MapperService mapperService, IndexQueryParserService queryParserService, HasContextAndHeaders headersContext) throws IOException
parse
in interface SuggestContextParser
IOException
public void parseSmoothingModel(XContentParser parser, org.elasticsearch.search.suggest.phrase.PhraseSuggestionContext suggestion, String fieldName) throws IOException
IOException
Copyright © 2009–2016. All rights reserved.