[TYPO3-Solr] Solr instance under different name

Rik Willems rik at actiview.nl
Fri Aug 19 14:00:51 CEST 2011


Hi Olivier,

Thanks for the tip. Actually it is very easy indeed. I ended up with the 
following. Works like a charm.


<?xml version="1.0" encoding="utf-8"?>
<Context 
docBase="/opt/solr-tomcat/apache-solr-3.3.0/dist/apache-solr-3.3.0.war" 
debug="0" crossContext="true">
         <Environment name="solr/home" type="java.lang.String" 
value="/opt/solr-tomcat/solr_test" override="true"/>
</Context>

Cheers! Rik

On 17-8-2011 17:14, Olivier Dobberkau wrote:
> Am 17.08.11 16:36, schrieb Rik Willems:
>
>> That is right yes. Eventually I should update the other sites as well.
>> But not now. And it would be nice if it is possible.
>
> Hi Rik,
>
> Thats quite easy.
>
> Here with 3.1 release.
>
> cd /opt/tomcat/apache-tomcat-6.0.32/conf/Catalina/localhost
>
> add another
>
> solr_3-1.xml to it.
>
> <?xml version="1.0" encoding="utf-8"?>
> <Context
> docBase="/opt/solr/solr_3-1/bin/apache-solr-3.1.0/dist/apache-solr-3.1.0.war"
> debug="0" crossContext="true">
> <Environment name="solr/home" type="java.lang.String"
> value="/opt/solr/solr_3-1" override="true"/>
> </Context>
>
> make sure you created the folders in /opt/solr/solr_3-1 before.
> Download the Apache Solr Binaries before.
>
> restart the tomcat.
>
> this should give you a pointer on what to do...
>
> Best regards!
>
> Olivier
>
>


More information about the TYPO3-project-solr mailing list