Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » search » highlight » [javadoc | source]
org.apache.lucene.search.highlight
public class: WeightedTerm [javadoc | source]
java.lang.Object
   org.apache.lucene.search.highlight.WeightedTerm

Direct Known Subclasses:
    WeightedSpanTerm

Lightweight class to hold term and a weight value used for scoring this term
Field Summary
 float weight     
 String term     
Constructor:
 public WeightedTerm(float weight,
    String term) 
Method from org.apache.lucene.search.highlight.WeightedTerm Summary:
getTerm,   getWeight,   setTerm,   setWeight
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.search.highlight.WeightedTerm Detail:
 public String getTerm() 
 public float getWeight() 
 public  void setTerm(String term) 
 public  void setWeight(float weight)