org.apache.lucene.search.highlight
Class WeightedTerm
public class WeightedTerm
Lightweight class to hold term and a weight value used for scoring this term
WeightedTerm
public WeightedTerm(float weight,
String term)
getTerm
public String getTerm()
getWeight
public float getWeight()
- the weight associated with this term
setTerm
public void setTerm(String term)
term
- the term value (stemmed)
setWeight
public void setWeight(float weight)
weight
- the weight associated with this term
Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.