lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From varun srivastava <varunmail...@gmail.com>
Subject Re: zk Config URL?
Date Wed, 27 Feb 2013 01:26:50 GMT
Hi Mark,
 specifying zkHost in solr.xml is not working. It seems only system
property -DzkHost works. Can you confirm the param name is zkHost in
solr.xml ?

Thanks
Varun

On Tue, Feb 26, 2013 at 4:24 PM, Mark Miller <markrmiller@gmail.com> wrote:

>
> On Feb 26, 2013, at 7:15 PM, varun srivastava <varunmailing@gmail.com>
> wrote:
>
> > I dont like setting parameters as system properties,
>
> They are nice for the example, and often if you are using shell scripts or
> something to manage your cluster when you are screwing around, but yeah,
> many people will be happy to just put the info in the xml file.
>
> > but I am happy if i
> > can setup these fields inside solr.xml . So you mean following config
> will
> > work
> >
> > <cores adminPath="/admin/cores" defaultCoreName="core0"
> > zkClientTimeout="20000"  hostPort="<tomcat port>" hostContext="solr"
> > zkHost="<zookeeper hosts>" >
>
> Yes.
>
> The only sys prop you would have to set is numShards, unless you removed
> the default collection and used the CoreAdmin or Collections API to create
> the first collection.
>
> - Mark
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message