public final class SuggestParseElement extends Object implements SearchParseElement
| Constructor and Description |
|---|
SuggestParseElement(Suggesters suggesters) |
| Modifier and Type | Method and Description |
|---|---|
void |
parse(XContentParser parser,
SearchContext context) |
SuggestionSearchContext |
parseInternal(XContentParser parser,
MapperService mapperService,
IndexQueryParserService queryParserService,
String index,
int shardId) |
@Inject public SuggestParseElement(Suggesters suggesters)
public void parse(XContentParser parser, SearchContext context) throws Exception
parse in interface SearchParseElementExceptionpublic SuggestionSearchContext parseInternal(XContentParser parser, MapperService mapperService, IndexQueryParserService queryParserService, String index, int shardId) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.