public class FieldValueFactorFunctionParser extends Object implements ScoreFunctionParser
{
"field_value_factor": {
"field": "myfield",
"factor": 1.5,
"modifier": "square",
"missing": 1
}
}
| コンストラクタと説明 |
|---|
FieldValueFactorFunctionParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
getNames()
Returns the name of the function, for example "linear", "gauss" etc.
|
ScoreFunction |
parse(QueryParseContext parseContext,
XContentParser parser) |
public static String[] NAMES
public ScoreFunction parse(QueryParseContext parseContext, XContentParser parser) throws IOException, QueryParsingException
parse インタフェース内 ScoreFunctionParserIOExceptionQueryParsingExceptionpublic String[] getNames()
ScoreFunctionParserFunctionScoreQueryParser.getNames インタフェース内 ScoreFunctionParserCopyright © 2009–2016. All rights reserved.