public class RandomScoreFunctionParser extends Object implements ScoreFunctionParser
| コンストラクタと説明 |
|---|
RandomScoreFunctionParser() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
getNames()
Returns the name of the function, for example "linear", "gauss" etc.
|
ScoreFunction |
parse(QueryParseContext parseContext,
XContentParser parser) |
public static String[] NAMES
@Inject public RandomScoreFunctionParser()
public String[] getNames()
ScoreFunctionParserFunctionScoreQueryParser.getNames インタフェース内 ScoreFunctionParserpublic ScoreFunction parse(QueryParseContext parseContext, XContentParser parser) throws IOException, QueryParsingException
parse インタフェース内 ScoreFunctionParserIOExceptionQueryParsingExceptionCopyright © 2009–2016. All rights reserved.