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

    https://github.com/apache/lucene-solr/pull/495#discussion_r233838293
  
    --- Diff: 
lucene/core/src/test/org/apache/lucene/search/TestPointQueries.java ---
    @@ -1903,9 +1903,6 @@ public void testRangeOptimizesIfAllPointsMatch() 
throws IOException {
           upperBound[i] = value[i] + random().nextInt(1);
         }
         Query query = IntPoint.newRangeQuery("point", lowerBound, upperBound);
    -    Weight weight = searcher.createWeight(query, 
ScoreMode.COMPLETE_NO_SCORES, 1);
    -    Scorer scorer = 
weight.scorer(searcher.getIndexReader().leaves().get(0));
    -    assertEquals(DocIdSetIterator.all(1).getClass(), 
scorer.iterator().getClass());
    --- End diff --
    
    Yes! That's good news, thanks! Fixed in 
352dce1b263e216f31d285dcdba4efa01a7abd7c.


---

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

Reply via email to