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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to