Re: Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
Hi again! I'm diving inside DirectUpdateHandler2 code and it seems that the problem is that when a commit, when core.openNewSercher(true,true) is called it returns a RefCounted with a new searcher reference that points to an old (probably cached somehow) data dir. I've tried with core.openNewSearc

Re: Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
I've seen that StandardDirectoryReader appears in the commit logs. Maybe this DirectoryReader type is caching somehow the old segments in SolrB and SolrC even if they have been commited previosly. If that's true, does exist any other DirectoyReader type (I don't know, SimpleDirectoryReader or FSDir

Solr read-only mode with same datadir: commits are not working.

2014-03-12 Thread Luis Cappa Banda
Hey guys, I've doing some tests sharing the same index between three Solr servers: *SolrA*: is allowed to both read and index. The index is stored in a NFS. It has its own configuration files. *SolrB and SolrC*: they can only read from the shared index and each one has their own configuration fil