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:
Ryan McKinley 2007-06-03 02:57:47 +00:00
parent 404e9ef4c1
commit 89f74f85b9
1 changed files with 1 additions and 1 deletions

View File

@ -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 );