You can query multiple collections by specifying the list of collections
e.g.:

http://hostname:port
/solr/gettingstarted/select?q=test&collection=collection1,collection2,collection3

On Sun, May 10, 2015 at 11:49 PM, Zheng Lin Edwin Yeo <edwinye...@gmail.com>
wrote:

> Hi,
>
> Would like to check, is there a way to query multiple collections together
> in a single query and return the results in one result set?
>
> For example, I have 2 collections and I want to search for records with the
> word 'solr' in both of the collections. Is there a query to do that, or
> must I query both collections separately, and get two different result
> sets?
>
> Regards,
> Edwin
>



-- 
Anshum Gupta

Reply via email to