Github user cbismuth commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/495#discussion_r233838241
  
    --- Diff: 
lucene/core/src/test/org/apache/lucene/search/TestConjunctionDISI.java ---
    @@ -234,12 +234,12 @@ public void testConjunction() throws IOException {
               case 0:
                 // simple iterator
                 sets[i] = set;
    -            iterators[i] = new ConstantScoreScorer(new FakeWeight(), 0f, 
anonymizeIterator(new BitDocIdSet(set).iterator()));
    +            iterators[i] = new ConstantScoreScorer(new FakeWeight(), 0f, 
ScoreMode.TOP_SCORES, anonymizeIterator(new BitDocIdSet(set).iterator()));
    --- End diff --
    
    Totally, allow to visit all results and score isn't used in test :+1:
    
    Fixed in d5c82d855c152fc958574076b5d14ae1cbf6158b.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to