Re: Query to multiple collections

2018-10-25 Thread Atita Arora
, > Rohan Kasat > > > On Mon, Oct 22, 2018 at 4:49 PM Shawn Heisey wrote: > > > On 10/22/2018 1:26 PM, Chris Ulicny wrote: > > > There weren't any particular problems we ran into since the client that > > > makes the queries to multiple collections previously would

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
he client that > > makes the queries to multiple collections previously would query multiple > > cores using the 'shards' parameter before we moved to solrcloud. We > didn't > > have any complicated sorting or scoring requirements fortunately. > > > > The one thing I re

Re: Query to multiple collections

2018-10-22 Thread Shawn Heisey
On 10/22/2018 1:26 PM, Chris Ulicny wrote: There weren't any particular problems we ran into since the client that makes the queries to multiple collections previously would query multiple cores using the 'shards' parameter before we moved to solrcloud. We didn't have any complicated sorting

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
Thanks Chris. This help. Regards, Rohan On Mon, Oct 22, 2018 at 12:26 PM Chris Ulicny wrote: > There weren't any particular problems we ran into since the client that > makes the queries to multiple collections previously would query multiple > cores using the 'shards' parameter

Re: Query to multiple collections

2018-10-22 Thread Chris Ulicny
There weren't any particular problems we ran into since the client that makes the queries to multiple collections previously would query multiple cores using the 'shards' parameter before we moved to solrcloud. We didn't have any complicated sorting or scoring requirements fortunately. The one

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
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 wrote: > Have you

Re: Query to multiple collections

2018-10-22 Thread Rohan Kasat
Thanks Chris for the update. I was thinking on the same grounds just wanted to check if you faced any specific issues. Regards, Rohan Kasat On Mon, Oct 22, 2018 at 11:20 AM Chris Ulicny wrote: > Rohan, > > I do not remember where I came across it or what restrictions exist on it, > but it

Re: Query to multiple collections

2018-10-22 Thread Alexandre Rafalovitch
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

Re: Query to multiple collections

2018-10-22 Thread Chris Ulicny
Rohan, I do not remember where I came across it or what restrictions exist on it, but it works for our use case of querying multiple archived collections with identical schemas in the same SolrCloud cluster. The queries have the following form:

Query to multiple collections

2018-10-22 Thread Rohan Kasat
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