Skip to content

Commit 98a565c

Browse files
committed
fix id filter optimisation
1 parent 59ea065 commit 98a565c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nitrite/src/main/java/org/dizitart/no2/collection/operation/FindOptimizer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ private void planForIdFilter(FindPlan findPlan, List<Filter> filters) {
160160
// handle byId filter specially
161161
if (equalsFilter.getField().equals(DOC_ID)) {
162162
findPlan.setByIdFilter(equalsFilter);
163+
break;
163164
}
164-
break;
165165
}
166166
}
167167
}

0 commit comments

Comments
 (0)