You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jamshaid Ashraf <ja...@gmail.com> on 2013/10/25 15:46:20 UTC
[Solr 4.3] Search data from multiple cores with different document
structure (same machine)
Hi,
I'm using solr 4.3 and I have data in multiple cores which are different in
structure like (Core1 - col1 & col2) & (Core2 - col3 & col4).
Now I would like to run a search query on both of the cores and in the end
to get a single result set from the 2 cores combines.
Please help me out is it possible through configurations or any other
workaround?
Thanks in advance!
Regards,
Jamshaid
Re: [Solr 4.3] Search data from multiple cores with different
document structure (same machine)
Posted by Erick Erickson <er...@gmail.com>.
This is usually an app-layer function, i.e. you fire two queries
from the app layer, one to each core and combine them
as you please.
One issue you will face is what "combine them as you please"
means. The scores re NOT comparable, so do you
interleave them? Group them in tabs? etc...
Best,
Erick
On Fri, Oct 25, 2013 at 9:46 AM, Jamshaid Ashraf <ja...@gmail.com>wrote:
> Hi,
>
> I'm using solr 4.3 and I have data in multiple cores which are different in
> structure like (Core1 - col1 & col2) & (Core2 - col3 & col4).
>
> Now I would like to run a search query on both of the cores and in the end
> to get a single result set from the 2 cores combines.
>
> Please help me out is it possible through configurations or any other
> workaround?
>
> Thanks in advance!
>
> Regards,
> Jamshaid
>