Have you tried using aliases:
http://lucene.apache.org/solr/guide/7_5/collections-api.html#collections-api

You can also - I think - specify a collection of shards/collections
directly in the query, but there may be side edge-cases with that (not
sure).

Regards,
    Alex.
On Mon, 22 Oct 2018 at 13:49, Rohan Kasat <rohan.ka...@gmail.com> wrote:
>
> Hi All ,
>
> I have a SolrCloud setup with multiple collections.
> I have created say -  two collections here as the data source for the both
> collections are different and hence wanted to store them differently.
> There is a use case , where i need to query both the collections and show
> unified search results.
> The fields in the schema are same. ( say - title , description , date )
> Is there any specific way i can do this directly with the collections API
> or something like that?
> Or i need to write a federator and combine results from search to the
> respective collections and then unify them?
>
> --
>
> *Regards,Rohan*

Reply via email to