Github user cbismuth commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/495#discussion_r232324465
--- Diff:
lucene/core/src/java/org/apache/lucene/search/ConstantScoreScorer.java ---
@@ -70,7 +98,7 @@ public TwoPhaseIterator twoPhaseIterator() {
@Override
public int docID() {
- return disi.docID();
+ return twoPhaseIterator != null ?
twoPhaseIterator.approximation().docID() : doc;
--- End diff --
Yes, it broke some tests.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]