public class ScriptScoreFunction extends ScoreFunction
| コンストラクタと説明 |
|---|
ScriptScoreFunction(Script sScript,
SearchScript script) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
LeafScoreFunction |
getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) |
boolean |
needsScores()
Indicates if document scores are needed by this function.
|
String |
toString() |
getDefaultScoreCombinerpublic ScriptScoreFunction(Script sScript, SearchScript script)
public LeafScoreFunction getLeafScoreFunction(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
getLeafScoreFunction クラス内 ScoreFunctionIOExceptionpublic boolean needsScores()
ScoreFunctionneedsScores クラス内 ScoreFunctiontrue if scores are needed.Copyright © 2009–2016. All rights reserved.