com.senseidb.search.query
Class AbstractScoreAdjuster

java.lang.Object
  extended by org.apache.lucene.search.Query
      extended by 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

Nested Class Summary
 class AbstractScoreAdjuster.ScoreAdjusterWeight
           
 
Field Summary
protected  org.apache.lucene.search.Query _query
           
 
Constructor Summary
AbstractScoreAdjuster(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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_query

protected final org.apache.lucene.search.Query _query
Constructor Detail

AbstractScoreAdjuster

public AbstractScoreAdjuster(org.apache.lucene.search.Query query)
Method Detail

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.