| java.lang.Object org.apache.lucene.search.highlight.WeightedTerm
WeightedTerm | public class WeightedTerm (Code) | | Lightweight class to hold term and a weight value used for scoring this term
author: Mark Harwood |
WeightedTerm | public WeightedTerm(float weight, String term)(Code) | | |
getTerm | public String getTerm()(Code) | | the term value (stemmed) |
getWeight | public float getWeight()(Code) | | the weight associated with this term |
setTerm | public void setTerm(String term)(Code) | | Parameters: term - the term value (stemmed) |
setWeight | public void setWeight(float weight)(Code) | | Parameters: weight - the weight associated with this term |
|
|