dsmiley commented on code in PR #3206:
URL: https://github.com/apache/solr/pull/3206#discussion_r1967881072


##########
solr/core/src/java/org/apache/solr/search/join/HashRangeQuery.java:
##########
@@ -91,6 +96,9 @@ private int[] getCache(LeafReaderContext context) throws 
IOException {
         if (cacheHelper == null) {
           return null;
         }
+        if (!(searcher instanceof SolrIndexSearcher)) { // e.g. delete-by-query

Review Comment:
   It's telling that the cache this thing uses is completely optional.  You 
have to go out of your way to register it in your solrconfig.xml.  So this 
query definitely doesn't need it, and it's likely people are using this query 
without this cache given how easy it would be to forget to configure it or even 
know about it.
   
   There's no degraded performance concern since it hasn't been working at all 
in a DBQ :-)



-- 
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