org.apache.lucene.search.highlight

Class WeightedTerm

    • Method Detail

      • getTerm

        public String getTerm()
        Returns:
        the term value (stemmed)
      • getWeight

        public float getWeight()
        Returns:
        the weight associated with this term
      • setTerm

        public void setTerm(String term)
        Parameters:
        term - the term value (stemmed)
      • setWeight

        public void setWeight(float weight)
        Parameters:
        weight - the weight associated with this term