Class PointInSetIncludingScoreQuery.MergePointVisitor

    • Field Detail

      • scores

        private final float[] scores
      • scoreIterator

        private java.util.Iterator<java.lang.Float> scoreIterator
      • nextQueryPoint

        private BytesRef nextQueryPoint
      • nextScore

        float nextScore
      • scratch

        private final BytesRef scratch
    • Constructor Detail

      • MergePointVisitor

        private MergePointVisitor​(PrefixCodedTerms sortedPackedPoints,
                                  FixedBitSet result,
                                  float[] scores)
                           throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • visit

        public void visit​(int docID,
                          byte[] packedValue)
        Description copied from interface: PointValues.IntersectVisitor
        Called for all documents in a leaf cell that crosses the query. The consumer should scrutinize the packedValue to decide whether to accept it. In the 1D case, values are visited in increasing order, and in the case of ties, in increasing docID order.
        Specified by:
        visit in interface PointValues.IntersectVisitor