We can run solr4 in "non-cloud" mode without zookeeper and query data in the different shards as:
> http://localhost:8983/solr/select?q=foo:bar&shards=localhost:8983/solr/core0,localhost:8983/solr/core1 How about reindexing? Does the reindexing process (external to solr) need to select and manage which shard data goes to. We have not been able to find any documentation for it. On Mar 4, 2013, at 1:52 PM, Raghav Karol wrote: > On Mon, Mar 4, 2013 at 1:35 PM, Upayavira <u...@odoko.co.uk> wrote: >> You'd be using 3.x style distributed search. You would do a query such >> as: >> >> http://localhost:8983/solr/select?q=foo:bar&shards=localhost:8983/solr,localhost:8984/solr > > http://localhost:8983/solr/select?q=foo:bar&shards=localhost:8983/solr/core0,localhost:8983/solr/core1 > > is what we need to do since we have multiple shards on a single solr > host. (this is a big machine with SSD disks) > >> The presence of the shards= parameter tells it that it is to be a >> distributed search. >> >> Of course you can wire this into your solrconfig - just beware circular >> references. >> >> Upayavira >> >> On Mon, Mar 4, 2013, at 11:21 AM, Martin Koch wrote: >>> Is it possible to run solr without zookeeper, but still using sharding, >>> if >>> it's all running on one host? Would the shards have to be explicitly >>> included in the query urls? >>> >>> Thanks, >>> /Martin >>> >>> >>> On Fri, Mar 1, 2013 at 3:58 PM, Shawn Heisey <s...@elyograg.org> wrote: >>> >>>> On 3/1/2013 7:34 AM, Martin Koch wrote: >>>> >>>>> Most of the time things run just fine; however, we see this error every so >>>>> often, and fix it as described. >>>>> >>>>> How do I run solr in non cloud mode? Could you point me to a description? >>>>> >>>> >>>> The zookeeper options are required for cloud mode - zkHost to tell it >>>> about all your zookeeper nodes, zkRun to run an embedded zookeeper server. >>>> If you don't have these in solr.xml or your startup commandline, Solr 4.x >>>> will not be running in cloud mode, just like earlier versions. >>>> >>>> Thanks, >>>> Shawn >>>> >>>>