You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kr...@apache.org on 2017/02/02 15:01:43 UTC

lucene-solr:master: SOLR-10087: StreamHandler should be able to use runtimeLib jars

Repository: lucene-solr
Updated Branches:
  refs/heads/master ff1a9e923 -> db987b810


SOLR-10087: StreamHandler should be able to use runtimeLib jars


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/db987b81
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/db987b81
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/db987b81

Branch: refs/heads/master
Commit: db987b810cd9acaae3fae891ef07258b09d4d94b
Parents: ff1a9e9
Author: Kevin Risden <kr...@apache.org>
Authored: Wed Feb 1 15:50:04 2017 -0500
Committer: Kevin Risden <kr...@apache.org>
Committed: Thu Feb 2 10:01:22 2017 -0500

----------------------------------------------------------------------
 solr/CHANGES.txt                                              | 2 ++
 solr/core/src/java/org/apache/solr/handler/StreamHandler.java | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db987b81/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index b4f9016..9765a33 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
 ----------------------

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/db987b81/solr/core/src/java/org/apache/solr/handler/StreamHandler.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/handler/StreamHandler.java b/solr/core/src/java/org/apache/solr/handler/StreamHandler.java
index 98486b8..1ffdce9 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 config
      List<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);
      }