public interface ScoreFunctionParser
Modifier and Type | Method and Description |
---|---|
String[] |
getNames()
Returns the name of the function, for example "linear", "gauss" etc.
|
ScoreFunction |
parse(QueryParseContext parseContext,
XContentParser parser) |
ScoreFunction parse(QueryParseContext parseContext, XContentParser parser) throws IOException, QueryParsingException
IOException
QueryParsingException
String[] getNames()
FunctionScoreQueryParser
.Copyright © 2009–2016. All rights reserved.