lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Sharding for Multi Cores
Date Wed, 29 Oct 2014 14:50:30 GMT
You can't AFAIK. Solr treats these cores as completely
separate entities. Plus, scores across the separate
cores cannot be assumed to be comparable. In fact,
there's not even any guarantee that the two
cores have _any_ fields in common, so this isn't
something that can be solved generally.

The app layer, or the custom request handler need
to handle this.

Best,
Erick

On Wed, Oct 29, 2014 at 5:28 AM, kumar <pavan2787@gmail.com> wrote:
> I have a situation that getting response from two cores for a single request.
>
> I need to use custom request handler to get the responses.
>
> For Example:
>
> core1 and core2 both are having the request handler namely "/abc".
>
> If i use individually in the following way i am getting proper results.
>
> http://localhost:1111/solr/core1/abc/suggest?s=abc
>
> http://localhost:1111/solr/core2/abc/suggest?s=abc
>
> But how can i write a single query to combine both the above queries.
>
>
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Sharding-for-Multi-Cores-tp4166434.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message