epugh commented on code in PR #4754:
URL: https://github.com/apache/solr/pull/4754#discussion_r3813606997
##########
solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java:
##########
@@ -778,8 +778,8 @@ public <K, V> boolean regenerateItem(
.setLen(nDocs)
.setSupersetMaxDoc(nDocs)
.setFlags(flags);
- QueryResult qr = new QueryResult();
- newSearcher.getDocListC(qr, qc);
+ // called for its cache side effect; the returned QueryResult is
unused
Review Comment:
thanks for the comment.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]