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