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:02:16 UTC
lucene-solr:branch_6x: SOLR-10087: StreamHandler should be able to
use runtimeLib jars
Repository: lucene-solr
Updated Branches:
refs/heads/branch_6x afae0d971 -> e457613e6
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/e457613e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e457613e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e457613e
Branch: refs/heads/branch_6x
Commit: e457613e6ec9fa258f9fd170b00dec58547e51e6
Parents: afae0d9
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:55 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/e457613e/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 18e65d1..28620df 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -66,6 +66,8 @@ Optimizations
* 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/e457613e/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 1951bd8..0b41ef4 100644
--- a/solr/core/src/java/org/apache/solr/handler/StreamHandler.java
+++ b/solr/core/src/java/org/apache/solr/handler/StreamHandler.java
@@ -179,7 +179,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);
}