mirror of https://github.com/apache/lucene.git
SOLR-10087: StreamHandler should be able to use runtimeLib jars
This commit is contained in:
parent
ff1a9e9235
commit
db987b810c
|
@ -126,6 +126,8 @@ New Features
|
||||||
|
|
||||||
* SOLR-7955: Auto create .system collection on first request if it does not exist (noble)
|
* 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
|
Bug Fixes
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
@ -178,7 +178,7 @@ public class StreamHandler extends RequestHandlerBase implements SolrCoreAware,
|
||||||
// This pulls all the overrides and additions from the config
|
// This pulls all the overrides and additions from the config
|
||||||
List<PluginInfo> pluginInfos = core.getSolrConfig().getPluginInfos(Expressible.class.getName());
|
List<PluginInfo> pluginInfos = core.getSolrConfig().getPluginInfos(Expressible.class.getName());
|
||||||
for (PluginInfo pluginInfo : pluginInfos) {
|
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);
|
streamFactory.withFunctionName(pluginInfo.name, clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue