Class TmFuzzyScorer


  • public class TmFuzzyScorer
    extends org.apache.lucene.search.Scorer
    Author:
    HARGRAVEJE
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.search.Scorable

        org.apache.lucene.search.Scorable.ChildScorable
    • Field Summary

      • Fields inherited from class org.apache.lucene.search.Scorer

        weight
    • Constructor Summary

      Constructors 
      Constructor Description
      TmFuzzyScorer​(float threshold, org.apache.lucene.search.Weight weight, List<org.apache.lucene.index.Term> terms, org.apache.lucene.index.IndexReader reader, String termCountField)  
    • Constructor Detail

      • TmFuzzyScorer

        public TmFuzzyScorer​(float threshold,
                             org.apache.lucene.search.Weight weight,
                             List<org.apache.lucene.index.Term> terms,
                             org.apache.lucene.index.IndexReader reader,
                             String termCountField)
                      throws IOException
        Parameters:
        threshold -
        weight -
        terms -
        reader -
        Throws:
        IOException
    • Method Detail

      • score

        public float score()
                    throws IOException
        Specified by:
        score in class org.apache.lucene.search.Scorable
        Throws:
        IOException
      • docID

        public int docID()
        Specified by:
        docID in class org.apache.lucene.search.Scorable
      • iterator

        public org.apache.lucene.search.DocIdSetIterator iterator()
        Specified by:
        iterator in class org.apache.lucene.search.Scorer
      • getMaxScore

        public float getMaxScore​(int i)
                          throws IOException
        Specified by:
        getMaxScore in class org.apache.lucene.search.Scorer
        Throws:
        IOException