com.browseengine.bobo.query.scoring
Class DefaultFacetTermScoringFunction

java.lang.Object
  extended by com.browseengine.bobo.query.scoring.DefaultFacetTermScoringFunction
All Implemented Interfaces:
FacetTermScoringFunction

public class DefaultFacetTermScoringFunction
extends Object
implements FacetTermScoringFunction


Constructor Summary
DefaultFacetTermScoringFunction()
           
 
Method Summary
 void clearScores()
           
 org.apache.lucene.search.Explanation explain(float... scores)
           
 org.apache.lucene.search.Explanation explain(int df, float boost)
           
 float getCurrentScore()
           
 float score(int df, float boost)
           
 void scoreAndCollect(int df, float boost)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFacetTermScoringFunction

public DefaultFacetTermScoringFunction()
Method Detail

clearScores

public final void clearScores()
Specified by:
clearScores in interface FacetTermScoringFunction

score

public final float score(int df,
                         float boost)
Specified by:
score in interface FacetTermScoringFunction

scoreAndCollect

public final void scoreAndCollect(int df,
                                  float boost)
Specified by:
scoreAndCollect in interface FacetTermScoringFunction

getCurrentScore

public final float getCurrentScore()
Specified by:
getCurrentScore in interface FacetTermScoringFunction

explain

public org.apache.lucene.search.Explanation explain(int df,
                                                    float boost)
Specified by:
explain in interface FacetTermScoringFunction

explain

public org.apache.lucene.search.Explanation explain(float... scores)
Specified by:
explain in interface FacetTermScoringFunction


Copyright © 2011. All Rights Reserved.