Re: Two solr instances access common index

2014-06-27 Thread Erick Erickson
it did work! Avoid all >> the ridiculous complexity of "cloud". >> >> >> >> Have a temporary lock to permit and exclude updates. >> >> >> >> -- Jack Krupansky >> >> >> >> -Original Message- From: Erick Eri

Re: Two solr instances access common index

2014-06-27 Thread Prasi S
e ridiculous complexity of "cloud". > >> > >> Have a temporary lock to permit and exclude updates. > >> > >> -- Jack Krupansky > >> > >> -Original Message- From: Erick Erickson > >> Sent: Thursday, June 26, 2014 12:37

Re: Two solr instances access common index

2014-06-26 Thread Erick Erickson
a temporary lock to permit and exclude updates. >> >> -- Jack Krupansky >> >> -Original Message- From: Erick Erickson >> Sent: Thursday, June 26, 2014 12:37 PM >> To: solr-user@lucene.apache.org >> Subject: Re: Two solr instances access common index >&

Re: Two solr instances access common index

2014-06-26 Thread Walter Underwood
ock to permit and exclude updates. > > -- Jack Krupansky > > -Original Message- From: Erick Erickson > Sent: Thursday, June 26, 2014 12:37 PM > To: solr-user@lucene.apache.org > Subject: Re: Two solr instances access common index > > bq: But my scenario is that bot

Re: Two solr instances access common index

2014-06-26 Thread Jack Krupansky
M To: solr-user@lucene.apache.org Subject: Re: Two solr instances access common index bq: But my scenario is that both solr instances would write to the common directory Do NOT do this. Don't even try. I guarantee Bad Things Will Happen. Why do you want to do this? To save disk space? Accomplish NRT s

Re: Two solr instances access common index

2014-06-26 Thread Erick Erickson
bq: But my scenario is that both solr instances would write to the common directory Do NOT do this. Don't even try. I guarantee Bad Things Will Happen. Why do you want to do this? To save disk space? Accomplish NRT searching on multiple machines? Please define the problem you're trying to solve

Re: Two solr instances access common index

2014-06-26 Thread Prasi S
Can you please tell me whihc solr version you have tried with? I tried giving ${solr.lock.type:none} in 2 solr instances and now it is working. I am not getting the write lock exception when starting the second instance. But my scenario is that both solr instances would write to the common direct

Re: Two solr instances access common index

2014-06-26 Thread Uwe Reh
Hi, with the lock type 'simple' I have tree instances (different JREs, GC-Problem) running on the same files. You should use this option only for a readonly system. Otherwise it's easy to corrupt the index. Maybe you should have a look on replication or SolrCloud. Uwe Am 26.06.2014 11:25, s

Two solr instances access common index

2014-06-26 Thread Prasi S
Hi, Is it possible to point two solr instances to point to a common index directory. Will this work wit changing the lock type? Thanks, Prasi