Yes, the collections param is only for SolrCloud.

But if your not using SolrCloud, the same stuff you did on Solr3 should work on 
Solr4…
- Mark

On Mar 7, 2013, at 9:35 AM, Kenneth Baltrinic 
<kbaltri...@bericotechnologies.com> wrote:

> We are in the process of upgrading a single instance Solr 3 implementation
> to Solr 4.  The instance contains multiple cores that share the same schema
> (in fact they share the same instanceDir but with distinct dataDirs).  We
> also need the ability to perform cross-index queries.  In Solr3 we have
> been using the shards parameter to do this in a manner similar to the
> following:
> 
> http://solr-box/core1/select?shards=http://solr-box/core2,http://solr-box/core3&q=.
> ..
> 
> The above approach was taken from this blog article:
> http://blog.shutupandcode.net/?p=1136
> 
> Now, having setup a single instance solr4 server, we are trying the
> following:
> 
> http://solr-box/core1/select?collection=core2,core3&q=...
> 
> The query runs w/o error but only returns results from core1.  The
> documentation seems to imply that the collection parameter will only work
> if we are using "SolrCloud" aka, solr w/zookeeper, etc.  Since we only need
> one solr instance this seems overkill.  Are we missing something?  Is there
> way to just use a basic Solr4 setup and still query across collections?
> 
> Thanks in advance for any  help.  If I left out needed details I will be
> happy to answer questions.
> 
> --Ken

Reply via email to