Class CheckIndex.VerifyPointsVisitor

  • All Implemented Interfaces:
    Enclosing class:

    public static class CheckIndex.VerifyPointsVisitor
    extends Object
    implements PointValues.IntersectVisitor
    Walks the entire N-dimensional points space, verifying that all points fall within the last cell's boundaries.
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    • Method Detail

      • getPointCountSeen

        public long getPointCountSeen()
        Returns total number of points in this BKD tree
      • getDocCountSeen

        public long getDocCountSeen()
        Returns total number of unique docIDs in this BKD tree
      • 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