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 Mark <st...@gmail.com> on 2010/12/29 21:24:22 UTC
Query multiple cores
Is it possible to query across multiple cores and combine the results?
If not available out-of-the-box could this be accomplished using some
sort of custom request handler?
Thanks for any suggestions.
Re: Query multiple cores
Posted by Tomás Fernández Löbbe <to...@gmail.com>.
You could use the different cores as "shards", the "Distributed Search"
stuff would work, even if it isn't really distributed on different machines.
The question is, do you really need this? Do you have the same schema on
both cores?
"Distributed search" is not exactly the same as "Solr Cloud", thus both
refer to distributing searches. "SolrCloud" uses Zookeeper to integrae and
coordinate different servers, very useful for clusters. You can read some
more of SolrCloud at the wiki page:
http://wiki.apache.org/solr/SolrCloud
Tomás
On Wed, Dec 29, 2010 at 5:54 PM, Mark <st...@gmail.com> wrote:
> I own the book already Smiley :)
>
> I'm somewhat familiar with this feature but I wouldn't be searching across
> multiple machines. I would like to search across two separate cores on the
> same machine.
>
> Is distributed search the same as Solr cloud? When would one choose one
> over the other?
>
>
> On 12/29/10 12:34 PM, Smiley, David W. wrote:
>
>> I recommend looking for answers on the wiki (or my book) before asking
>> basic questions on the list. Here you go:
>> http://wiki.apache.org/solr/DistributedSearch
>>
>> ~ David Smiley
>> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
>>
>> On Dec 29, 2010, at 3:24 PM, Mark wrote:
>>
>> Is it possible to query across multiple cores and combine the results?
>>>
>>> If not available out-of-the-box could this be accomplished using some
>>> sort of custom request handler?
>>>
>>> Thanks for any suggestions.
>>>
>>
Re: Query multiple cores
Posted by Mark <st...@gmail.com>.
I own the book already Smiley :)
I'm somewhat familiar with this feature but I wouldn't be searching
across multiple machines. I would like to search across two separate
cores on the same machine.
Is distributed search the same as Solr cloud? When would one choose one
over the other?
On 12/29/10 12:34 PM, Smiley, David W. wrote:
> I recommend looking for answers on the wiki (or my book) before asking basic questions on the list. Here you go:
> http://wiki.apache.org/solr/DistributedSearch
>
> ~ David Smiley
> Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
>
> On Dec 29, 2010, at 3:24 PM, Mark wrote:
>
>> Is it possible to query across multiple cores and combine the results?
>>
>> If not available out-of-the-box could this be accomplished using some
>> sort of custom request handler?
>>
>> Thanks for any suggestions.
Re: Query multiple cores
Posted by "Smiley, David W." <ds...@mitre.org>.
I recommend looking for answers on the wiki (or my book) before asking basic questions on the list. Here you go:
http://wiki.apache.org/solr/DistributedSearch
~ David Smiley
Author: http://www.packtpub.com/solr-1-4-enterprise-search-server/
On Dec 29, 2010, at 3:24 PM, Mark wrote:
> Is it possible to query across multiple cores and combine the results?
>
> If not available out-of-the-box could this be accomplished using some
> sort of custom request handler?
>
> Thanks for any suggestions.