Hello, We just tried core reloading on a freshly installed Solr 3.1.0 with RamDirectoryFactory. It doesn't seem to happen. With the FSDirectoryFactory everything works fine.
Looks like the RamDirectoryFactory implementation caches directory and if it's available it doesn't really reopen it thus not having updated index loaded into memory. Can anyone comment on this? Should we implement our own RamDirectoryFactory? Here is the code snippet from Solr 3.1.0. It looks a bit confusing. public Directory open(String path) throws IOException { synchronized (RAMDirectoryFactory.class) { RefCntRamDirectory directory = directories.get(path); if (directory == null || !directory.isOpen()) { directory = (RefCntRamDirectory) openNew(path); directories.put(path, directory); } else { directory.incRef(); } return directory; } } Regards, Dmitry -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-3-1-0-core-not-reloading-with-RamDirectoryFactory-tp2820603p2820603.html Sent from the Solr - User mailing list archive at Nabble.com.