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 "Gargate, Siddharth" <sg...@ptc.com> on 2009/03/09 10:02:44 UTC
RE: Distributed search
Hi,
I am trying distributed search and multicore but not able to fire a query. I tried
http://localhost:8080/solr/select/?shards=localhost:8080/solr/core0,localhost:8080/solr/core1&q=solr
I am getting following error: "Missing solr core name in path".
Should I use particular core to fire distributed search?
-----Original Message-----
From: Otis Gospodnetic [mailto:otis_gospodnetic@yahoo.com]
Sent: Tuesday, February 17, 2009 9:08 AM
To: solr-user@lucene.apache.org
Subject: Re: Distributed search
Hi,
That should work, yes, though it may not be a wise thing to do performance-wise, if the number of CPU cores that solr server has is lower than the number of Solr cores.
Otis --
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
________________________________
From: revathy arun <re...@gmail.com>
To: solr-user@lucene.apache.org
Sent: Monday, February 16, 2009 8:18:36 PM
Subject: Distributed search
Hi,
Can we use multicore to have several indexes per webapp and use distributed search to merge the indexes?
for exampe if we have 3 cores -core0 ,core1 and core2 for 3 different languages and to search across all the 3 indexes use the shard parameter as
shard=localhost:8080/solr/core0,localhost:8080/solr/core1,localhost:8080/solr/core2
Regards
Sujatha
Re: Distributed search
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Mon, Mar 9, 2009 at 2:32 PM, Gargate, Siddharth <sg...@ptc.com> wrote:
> Hi,
> I am trying distributed search and multicore but not able to fire a
> query. I tried
>
> http://localhost:8080/solr/select/?shards=localhost:8080/solr/core0,localhost:8080/solr/core1&q=solr
> I am getting following error: "Missing solr core name in path".
>
> Should I use particular core to fire distributed search?
>
>
Yes you should fire the request to an existing core.
--
Regards,
Shalin Shekhar Mangar.