com.senseidb.search.query
Class ScoreAugmentQuery

java.lang.Object
  extended by org.apache.lucene.search.Query
      extended by com.senseidb.search.query.AbstractScoreAdjuster
          extended by com.senseidb.search.query.ScoreAugmentQuery
All Implemented Interfaces:
Serializable, Cloneable

public class ScoreAugmentQuery
extends AbstractScoreAdjuster

See Also:
Serialized Form

Nested Class Summary
static interface ScoreAugmentQuery.ScoreAugmentFunction
           
 
Nested classes/interfaces inherited from class com.senseidb.search.query.AbstractScoreAdjuster
AbstractScoreAdjuster.ScoreAdjusterWeight
 
Field Summary
 
Fields inherited from class com.senseidb.search.query.AbstractScoreAdjuster
_query
 
Constructor Summary
ScoreAugmentQuery(org.apache.lucene.search.Query query, ScoreAugmentQuery.ScoreAugmentFunction func)
           
 
Method Summary
protected  org.apache.lucene.search.Scorer createScorer(org.apache.lucene.search.Scorer innerScorer, org.apache.lucene.index.IndexReader reader, boolean scoreDocsInOrder, boolean topScorer)
           
 
Methods inherited from class com.senseidb.search.query.AbstractScoreAdjuster
createWeight, rewrite, toString
 
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
 

Constructor Detail

ScoreAugmentQuery

public ScoreAugmentQuery(org.apache.lucene.search.Query query,
                         ScoreAugmentQuery.ScoreAugmentFunction func)
Method Detail

createScorer

protected org.apache.lucene.search.Scorer createScorer(org.apache.lucene.search.Scorer innerScorer,
                                                       org.apache.lucene.index.IndexReader reader,
                                                       boolean scoreDocsInOrder,
                                                       boolean topScorer)
                                                throws IOException
Specified by:
createScorer in class AbstractScoreAdjuster
Throws:
IOException


Copyright © 2010-2012. All Rights Reserved.