com.senseidb.search.query
Class AbstractScoreAdjuster
java.lang.Object
org.apache.lucene.search.Query
com.senseidb.search.query.AbstractScoreAdjuster
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- ScoreAugmentQuery
public abstract class AbstractScoreAdjuster
- extends org.apache.lucene.search.Query
- See Also:
- Serialized Form
Field Summary |
protected org.apache.lucene.search.Query |
_query
|
Method Summary |
protected abstract org.apache.lucene.search.Scorer |
createScorer(org.apache.lucene.search.Scorer innerScorer,
org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer)
|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher)
|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
|
String |
toString(String field)
|
Methods inherited from class org.apache.lucene.search.Query |
clone, combine, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, setBoost, toString, weight |
_query
protected final org.apache.lucene.search.Query _query
AbstractScoreAdjuster
public AbstractScoreAdjuster(org.apache.lucene.search.Query query)
createScorer
protected abstract org.apache.lucene.search.Scorer createScorer(org.apache.lucene.search.Scorer innerScorer,
org.apache.lucene.index.IndexReader reader,
boolean scoreDocsInOrder,
boolean topScorer)
throws IOException
- Throws:
IOException
createWeight
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher)
throws IOException
- Overrides:
createWeight
in class org.apache.lucene.search.Query
- Throws:
IOException
rewrite
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
throws IOException
- Overrides:
rewrite
in class org.apache.lucene.search.Query
- Throws:
IOException
toString
public String toString(String field)
- Specified by:
toString
in class org.apache.lucene.search.Query
Copyright © 2010-2012. All Rights Reserved.