com.senseidb.search.query
Class AbstractScoreAdjuster.ScoreAdjusterWeight
java.lang.Object
org.apache.lucene.search.Weight
com.senseidb.search.query.AbstractScoreAdjuster.ScoreAdjusterWeight
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- AbstractScoreAdjuster
public class AbstractScoreAdjuster.ScoreAdjusterWeight
- extends org.apache.lucene.search.Weight
- See Also:
- Serialized Form
Method Summary |
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.IndexReader reader,
int doc)
|
org.apache.lucene.search.Query |
getQuery()
|
float |
getValue()
|
void |
normalize(float queryNorm)
|
org.apache.lucene.search.Scorer |
scorer(org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer)
|
float |
sumOfSquaredWeights()
|
String |
toString()
|
Methods inherited from class org.apache.lucene.search.Weight |
scoresDocsOutOfOrder |
AbstractScoreAdjuster.ScoreAdjusterWeight
public AbstractScoreAdjuster.ScoreAdjusterWeight(org.apache.lucene.search.Weight innerWeight)
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
getQuery
public org.apache.lucene.search.Query getQuery()
- Specified by:
getQuery
in class org.apache.lucene.search.Weight
getValue
public float getValue()
- Specified by:
getValue
in class org.apache.lucene.search.Weight
sumOfSquaredWeights
public float sumOfSquaredWeights()
throws IOException
- Specified by:
sumOfSquaredWeights
in class org.apache.lucene.search.Weight
- Throws:
IOException
normalize
public void normalize(float queryNorm)
- Specified by:
normalize
in class org.apache.lucene.search.Weight
scorer
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer)
throws IOException
- Specified by:
scorer
in class org.apache.lucene.search.Weight
- Throws:
IOException
explain
public org.apache.lucene.search.Explanation explain(org.apache.lucene.index.IndexReader reader,
int doc)
throws IOException
- Specified by:
explain
in class org.apache.lucene.search.Weight
- Throws:
IOException
Copyright © 2010-2012. All Rights Reserved.