mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 16:29:30 +00:00
LUCENE-7643: Fix leftover.
This commit is contained in:
parent
71ca2a84ba
commit
f57e0177ff
@ -281,7 +281,7 @@ public abstract class PointRangeQuery extends Query {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Scorer get(boolean randomAccess) throws IOException {
|
public Scorer get(boolean randomAccess) throws IOException {
|
||||||
if (false && values.getDocCount() == reader.maxDoc()
|
if (values.getDocCount() == reader.maxDoc()
|
||||||
&& values.getDocCount() == values.size()
|
&& values.getDocCount() == values.size()
|
||||||
&& cost() > reader.maxDoc() / 2) {
|
&& cost() > reader.maxDoc() / 2) {
|
||||||
// If all docs have exactly one value and the cost is greater
|
// If all docs have exactly one value and the cost is greater
|
||||||
|
Loading…
x
Reference in New Issue
Block a user