kotman12 commented on code in PR #3344:
URL: https://github.com/apache/solr/pull/3344#discussion_r2080345218


##########
solr/core/src/java/org/apache/solr/core/SolrCore.java:
##########
@@ -2204,6 +2204,11 @@ public IndexFingerprint getIndexFingerprint(
     return f;
   }
 
+  /** Clear the per‐segment fingerprint cache. */
+  public void clearPerSegmentFingerprintCache() {
+    perSegmentFingerprintCache.clear();
+  }

Review Comment:
   what do you think of [using a cache-less 
reader](https://github.com/mlbiscoc/solr/pull/3) for the same effect? Or at 
least add a `@VisibleForTesting` annotation? 



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