You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/08/31 05:22:50 UTC

[GitHub] [solr] noblepaul commented on a diff in pull request #965: SOLR-16328 : intern() strings in DocCollection to reduce memory footp…

noblepaul commented on code in PR #965:
URL: https://github.com/apache/solr/pull/965#discussion_r959170422


##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -2424,6 +2430,32 @@ public PlacementPluginFactory<? extends PlacementPluginConfig> getPlacementPlugi
   public void runAsync(Runnable r) {
     coreContainerAsyncTaskExecutor.submit(r);
   }
+
+  public static void setWeakStringInterner() {
+    Interner<String> interner = Interner.newWeakInterner();
+    ClusterState.setStrInternerParser(
+        new Function<>() {

Review Comment:
   utils is in the solrj and solrj does not have visibility to caffeine classes



-- 
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-unsubscribe@solr.apache.org

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


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