Thanks Alex. I check aliases but dint focused much , will try to relate more to my use case and have a look again at the same. I guess the specification of collection in the query should be useful.
Regards, Rohan Kasat On Mon, Oct 22, 2018 at 11:21 AM Alexandre Rafalovitch <arafa...@gmail.com> wrote: > 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* > -- *Regards,Rohan Kasat*