lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <yo...@apache.org>
Subject Re: Double Solr Installation on Single Tomcat (or Double Index)
Date Wed, 06 Sep 2006 15:27:13 GMT
Another way to run multiple solr webapps with Tomcat involves context
fragments.  It allows you to use a single copy of the solr.war but
specify different configs (via different solrhomes).

http://wiki.apache.org/solr/SolrTomcat

-Yonik


On 9/6/06, sangraal aiken <sangraal@gmail.com> wrote:
> I've set up 2 separate Solr indexes on one Tomcat instance. I basically
> created two separate Solr webapps. I have one webapp that is the client to
> both Solr instances as well. So the whole setup is 3 webapps.
>
> I have one set of Solr source classes and an ant task to build a jar file
> and copy it into the lib directory of both Solr webapps. This way if you
> customize your Solr installs you only have to do it once. Each Solr webapp
> obviously needs it's own solr config and data directories which is
> configurable through solrConfig. Both indexes are completely separate and
> configurable independently through these config files.
>
> If you need more detail let me know, I'll try to help you out.
>
> -S
>
> On 9/6/06, Tom Weber <tom.weber@rtl.lu> wrote:
> >
> > Hello,
> >
> >    I need to have a second separate index (separate data) on the same
> > server.
> >
> >    Is there a possibility to do this in a single solr install on a
> > tomcat server or do I need to have a second instance in the same
> > tomcat install ?
> >
> >    If either one is possible, does somebody has some advice how to
> > set this up, and how to be sure that both indexes do not interact ?
> >
> >    Many thanks for any help,
> >
> >    Best Greetings,
> >
> >    Tom
> >

Mime
View raw message