@Deprecated public class FactorParser extends Object implements ScoreFunctionParser
Constructor and Description |
---|
FactorParser()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getNames()
Deprecated.
Returns the name of the function, for example "linear", "gauss" etc.
|
ScoreFunction |
parse(QueryParseContext parseContext,
XContentParser parser)
Deprecated.
|
public static String[] NAMES
@Inject public FactorParser()
public ScoreFunction parse(QueryParseContext parseContext, XContentParser parser) throws IOException, QueryParsingException
parse
in interface ScoreFunctionParser
IOException
QueryParsingException
public String[] getNames()
ScoreFunctionParser
FunctionScoreQueryParser
.getNames
in interface ScoreFunctionParser
Copyright © 2009–2017. All rights reserved.