Apache Solr open-source search software
expanding SolrRequestParsers api to construct a SolrQueryRequest from a Collection, not just a List. (this is useful for an embedded SOLR-20 client)
Ryan McKinley89f74f85b9ea
diff --git a/src/webapp/src/org/apache/solr/servlet/SolrRequestParsers.java b/src/webapp/src/org/apache/solr/servlet/SolrRequestParsers.javaindex c386219f686..35bbefb1cb1 100644--- a/src/webapp/src/org/apache/solr/servlet/SolrRequestParsers.java+++ b/src/webapp/src/org/apache/solr/servlet/SolrRequestParsers.java@@ -108,7 +108,7 @@ public class SolrRequestParsersreturn sreq;}- SolrQueryRequest buildRequestFrom( SolrParams params, List<ContentStream> streams ) throws Exception+ SolrQueryRequest buildRequestFrom( SolrParams params, Collection<ContentStream> streams ) throws Exception{// The content type will be applied to all streaming contentString contentType = params.get( SolrParams.STREAM_CONTENTTYPE );