lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Re: Query multiple collections together
Date Mon, 11 May 2015 07:59:19 GMT
Thank you for the query.

Just to confirm, for the 'gettingstarted' in the query, does it matter
which collection name I put?

Regards,
Edwin
 On 11 May 2015 15:51, "Anshum Gupta" <anshum@anshumgupta.net> wrote:

> 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