Class LatentVecScorer


  • public class LatentVecScorer
    extends org.apache.lucene.search.Scorer
    Scorer using CosineSimilarity to score similarity between latent vectors.
    • Nested Class Summary

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

        org.apache.lucene.search.Scorer.ChildScorer
    • Field Summary

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

        weight
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int docID()  
      org.apache.lucene.search.DocIdSetIterator iterator()  
      float score()  
      • Methods inherited from class org.apache.lucene.search.Scorer

        getChildren, getWeight, twoPhaseIterator
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • docID

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

        public float score()
                    throws java.io.IOException
        Specified by:
        score in class org.apache.lucene.search.Scorer
        Throws:
        java.io.IOException
      • iterator

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