mirror of https://github.com/apache/lucene.git
expanding SolrRequestParsers api to construct a SolrQueryRequest from a Collection, not just a List. (this is useful for an embedded SOLR-20 client)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543831 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
404e9ef4c1
commit
89f74f85b9
|
@ -108,7 +108,7 @@ public class SolrRequestParsers
|
|||
return 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 content
|
||||
String contentType = params.get( SolrParams.STREAM_CONTENTTYPE );
|
||||
|
|
Loading…
Reference in New Issue