Class SortingCodecReader.SortingIntersectVisitor

    • Constructor Detail

      • SortingIntersectVisitor

        SortingIntersectVisitor​(Sorter.DocMap docMap)
    • Method Detail

      • visit

        public void visit​(int docID)
                   throws java.io.IOException
        Description copied from interface: PointValues.IntersectVisitor
        Called for all documents in a leaf cell that's fully contained by the query. The consumer should blindly accept the docID.
        Specified by:
        visit in interface PointValues.IntersectVisitor
        Throws:
        java.io.IOException
      • visit

        public void visit​(int docID,
                          byte[] packedValue)
                   throws java.io.IOException
        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
        Throws:
        java.io.IOException