com.browseengine.bobo.query.scoring
Class BoboDocScorer

java.lang.Object
  extended by com.browseengine.bobo.query.scoring.BoboDocScorer
Direct Known Subclasses:
RangeFacetHandler.RangeBoboDocScorer, SimpleFacetHandler.SimpleBoboDocScorer

public abstract class BoboDocScorer
extends Object


Field Summary
protected  float[] _boostList
           
protected  FacetTermScoringFunction _function
           
 
Constructor Summary
BoboDocScorer(FacetTermScoringFunction scoreFunction, float[] boostList)
           
 
Method Summary
static float[] buildBoostList(List<String> valArray, Map<String,Float> boostMap)
           
abstract  org.apache.lucene.search.Explanation explain(int docid)
           
abstract  float score(int docid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_function

protected final FacetTermScoringFunction _function

_boostList

protected final float[] _boostList
Constructor Detail

BoboDocScorer

public BoboDocScorer(FacetTermScoringFunction scoreFunction,
                     float[] boostList)
Method Detail

score

public abstract float score(int docid)

explain

public abstract org.apache.lucene.search.Explanation explain(int docid)

buildBoostList

public static float[] buildBoostList(List<String> valArray,
                                     Map<String,Float> boostMap)


Copyright © 2011. All Rights Reserved.