cpoerschke commented on code in PR #3149:
URL: https://github.com/apache/solr/pull/3149#discussion_r1939515949


##########
solr/core/src/test/org/apache/solr/legacy/TestNumericRangeQuery32.java:
##########
@@ -183,12 +183,12 @@ private void testRange(int precisionStep) throws 
Exception {
       ScoreDoc[] sd = topDocs.scoreDocs;
       assertNotNull(sd);
       assertEquals("Score doc count" + type, count, sd.length);
-      Document doc = searcher.doc(sd[0].doc);
+      Document doc = searcher.storedFields().document(sd[0].doc);

Review Comment:
   Here we have an `IndexSearcher` i.e. not a `SolrIndexSearcher` and so not 
using `SolrIndexSearcher.getDocFetcher()` here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to