Apache Lucene open-source search software
SOLR-10087: StreamHandler should be able to use runtimeLib jars
Kevin Risdendb987b810cd9
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex b4f9016c6e8..9765a331790 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -126,6 +126,8 @@ New Features* SOLR-7955: Auto create .system collection on first request if it does not exist (noble)+* SOLR-10087: StreamHandler now supports registering custom streaming expressions from the blob store (Kevin Risden)+Bug Fixes----------------------diff --git a/solr/core/src/java/org/apache/solr/handler/StreamHandler.java b/solr/core/src/java/org/apache/solr/handler/StreamHandler.javaindex 98486b85ac7..1ffdce9d21a 100644--- a/solr/core/src/java/org/apache/solr/handler/StreamHandler.java+++ b/solr/core/src/java/org/apache/solr/handler/StreamHandler.java@@ -178,7 +178,7 @@ public class StreamHandler extends RequestHandlerBase implements SolrCoreAware,// This pulls all the overrides and additions from the configList<PluginInfo> pluginInfos = core.getSolrConfig().getPluginInfos(Expressible.class.getName());for (PluginInfo pluginInfo : pluginInfos) {- Class<? extends Expressible> clazz = core.getResourceLoader().findClass(pluginInfo.className, Expressible.class);+ Class<? extends Expressible> clazz = core.getMemClassLoader().findClass(pluginInfo.className, Expressible.class);streamFactory.withFunctionName(pluginInfo.name, clazz);}