org.apache.lucene.search.highlight
public class WeightedTerm extends Object
Constructor Summary | |
---|---|
WeightedTerm(float weight, String term) |
Method Summary | |
---|---|
String | getTerm() |
float | getWeight() |
void | setTerm(String term) |
void | setWeight(float weight) |
Returns: the term value (stemmed)
Returns: the weight associated with this term
Parameters: term the term value (stemmed)
Parameters: weight the weight associated with this term