Skip to content

Commit

Permalink
debug composite result error
Browse files Browse the repository at this point in the history
Signed-off-by: bowenlan-amzn <[email protected]>
  • Loading branch information
bowenlan-amzn committed Apr 24, 2024
1 parent efb0101 commit 0a9f117
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ private static void intersectWithRanges(
try {
switch (r) {
case CELL_INSIDE_QUERY:
// pointTree.visitDocIDs(visitor);
collector.countNode((int) pointTree.size());
pointTree.visitDocIDs(visitor);
// collector.countNode((int) pointTree.size());
debug.visitInner();
break;
case CELL_CROSSES_QUERY:
Expand Down Expand Up @@ -570,9 +570,10 @@ private static PointValues.IntersectVisitor getIntersectVisitor(
@Override
public void visit(int docID) throws IOException {
// this branch should be unreachable
throw new UnsupportedOperationException(
"This IntersectVisitor does not perform any actions on a " + "docID=" + docID + " node being visited"
);
// throw new UnsupportedOperationException(
// "This IntersectVisitor does not perform any actions on a " + "docID=" + docID + " node being visited"
// );
collector.count();
}

@Override
Expand Down

0 comments on commit 0a9f117

Please sign in to comment.