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,
String index,
int shardId) |
@Inject public SuggestParseElement(Suggesters suggesters)
public void parse(XContentParser parser, SearchContext context) throws Exception
parse
in interface SearchParseElement
Exception
public SuggestionSearchContext parseInternal(XContentParser parser, MapperService mapperService, String index, int shardId) throws IOException
IOException
Copyright © 2009–2015. All rights reserved.