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

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
> >
> >

Reply via email to