|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.index.query.CustomScoreQueryParser.ScriptScoreFunction
public static class CustomScoreQueryParser.ScriptScoreFunction
Constructor Summary | |
---|---|
CustomScoreQueryParser.ScriptScoreFunction(SearchScript script)
|
Method Summary | |
---|---|
org.apache.lucene.search.Explanation |
explain(int docId,
org.apache.lucene.search.Explanation subQueryExpl)
|
float |
score(int docId,
float subQueryScore)
|
void |
setNextReader(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomScoreQueryParser.ScriptScoreFunction(SearchScript script)
Method Detail |
---|
public void setNextReader(org.apache.lucene.index.IndexReader reader)
setNextReader
in interface ScoreFunction
public float score(int docId, float subQueryScore)
score
in interface ScoreFunction
public org.apache.lucene.search.Explanation explain(int docId, org.apache.lucene.search.Explanation subQueryExpl)
explain
in interface ScoreFunction
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |