I dont like setting parameters as system properties, 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>" > Thanks Varun On Tue, Feb 26, 2013 at 4:09 PM, Mark Miller <markrmil...@gmail.com> wrote: > > On Feb 26, 2013, at 7:01 PM, varun srivastava <varunmail...@gmail.com> > wrote: > > > Is there any page following for solr cloud ? > > http://wiki.apache.org/solr/SolrTomcat > > > > Not that I know of. The main hitch with tomcat is that the hostPort in > solr.xml is setup to be set by the jetty.port system property. So you > either need to pass that property to Tomcat or rename it in solr.xml to > something that makes sense in a Tomcat world. Otherwise, things are about > the same as with Jetty. > > > Can we set -zkHost and -zkTimeout in > > tomcat/webapps/solr/META_INF/context.xml > > No, they are set in solr.xml - special syntax is used to allow them to be > set as system properties though. > > - Mark > > > > > > > Thanks > > Varun > > > > On Tue, Feb 26, 2013 at 3:04 PM, Mark Miller <markrmil...@gmail.com> > wrote: > > > >> > >> On Feb 26, 2013, at 4:35 PM, varun srivastava <varunmail...@gmail.com> > >> wrote: > >> > >>> Do we have any ticket to simplify the > >>> solr cloud installation ? I would love to include my suggestions in it. > >> > >> Please, throw some thoughts out on the list or start a new JIRA issue. > >> > >> - Mark > >> > >> > >