Disable early exit

This commit is contained in:
Laurentiu Nicola
2017-05-15 21:18:06 +03:00
parent ccf0f9cb2f
commit 5590537739
+1 -12
View File
@@ -157,19 +157,8 @@ impl<'a> DocSet for SegmentPostings<'a> {
if doc < target {
start = mid + 1;
count -= step + 1;
} else if doc > target {
count = step;
} else {
self.set_within_block(mid);
if !self.delete_bitset.is_deleted(doc) {
return SkipResult::Reached;
}
if self.advance() {
return SkipResult::OverStep;
}
return SkipResult::End;
count = step;
}
}