I'd ask a slightly different question, "Why don't
you simply use multiple cores?". Using multiple
web apps uses up more resources than using
multiple cores. Is there a reason that wouldn't
work?

Best
Erick

2011/11/10 小池智浩 <tko...@genes.nig.ac.jp>:
> Hello,
>
> I'm designing a solr web system and our system will have multiple
> solr instances on a Tomcat.
>
> According to solr wiki, an instruction to use single war file and
> multiple context files (solr[1-2].xml).
>
> http://wiki.apache.org/solr/SolrTomcat#Multiple_Solr_Webapps
>
> I wonder why following structure is not enough.  I think this is
> the simplest way (disk space is a bit more necessary, of course):
>
> tomcat/
>  conf/
>    Catalina/
>      localhost/
>        solr1.xml (docBase should be "webapps/solr1")
>        solr2.xml (docBase should be "webapps/solr2")
>  webapps/
>    solr1/
>      WEB-INF/
>        ....
>    solr2/
>      WEB-INF/
>        ....
>
> I noticed this caution on the wiki page:
>
>> Don't put anything related to Solr under the webapps directory.
>
> Can someone tell me why "don't put anything related to solr under
> the webapps"?  Is this the reason why single war file configuration
> is recommended ?
>
> Many thanks,
> Tomohiro Koike
>
> --
> /* End of Message by Koike,T. */
>

Reply via email to