lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum Gupta <ans...@anshumgupta.net>
Subject Re: Query multiple collections together
Date Mon, 11 May 2015 07:10:54 GMT
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 <edwinyeozl@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message