Both Solr instances will be writing to separate indexes, but can they
share the same solr.home? So, here is what I want,

1) solr.home = solr/multicore
2) There is a single solr.xml under multicore directory
3) Each instance would use the same solr.xml, which will have entries
for multiple cores
4) Each instance will write to different core at a time - so one index
will be written by only one writer at a time.

not sure if this is a supported configuration.

Thanks.
-vivek




On Sun, Apr 19, 2009 at 5:55 AM, Otis Gospodnetic
<otis_gospodne...@yahoo.com> wrote:
>
> Vivek - no, unless you want trouble - only 1 writer can write to a specific 
> index at a time.
>
>
> Otis --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> ----- Original Message ----
>> From: vivek sar <vivex...@gmail.com>
>> To: solr-user@lucene.apache.org
>> Sent: Sunday, April 19, 2009 4:33:00 AM
>> Subject: Multiple Solr-instance share same solr.home
>>
>> Hi,
>>
>> Is it possible to have two solr instances share the same solr.home?
>> I've two Solr instances running on the same box and I was wondering if
>> I can configure them to have the same solr.home. I tried it, but looks
>> like the second instance overwrites the first one's value in the
>> solr.xml (I'm using multicore for both instances). This is just for
>> convenience so I don't have to manage multiple solr index directory
>> locations - I can have all the indexes written into the same location
>> and do the clean up from one place itself. If this is not supported
>> then it's not a big deal.
>>
>> Thanks,
>> -vivek
>
>

Reply via email to