On Aug 14, 2012, at 4:34 PM, Michael Della Bitta 
<michael.della.bi...@appinions.com> wrote:

> Hi everyone,
> 
> It looks like I found a bug with RAMDirectoryFactory (I know, I know...)
> 

Fair warning - RAMDir use in Solr is like a third class citizen. You probably 
should be using the mmap dir anyway.
See http://blog.thetaphi.de/2012/07/use-lucenes-mmapdirectory-on-64bit.html

> It doesn't seem to be able to load files off the disk. Everytime it
> starts up, it logs:
> 
> WARNING: [] Solr index directory 'solr/./data/index' doesn't exist.
> Creating new index...
> 
> Even if that filesystem path exists and there's a valid index there
> (verified by switching back to StandardDirectoryFactory).

I think it *should* work how you want, so does sound like a bug perhaps.

> 
> I experienced this first on our infrastructure on AWS, but I confirmed
> this by downloading the Solr 3.6.1 distribution fresh, indexing the
> exampledocs, stopping Jetty and reconfiguring for RAMDirectoryFactory,
> and restarting Jetty. The statement above gets logged, but otherwise
> the core comes up OK, but empty.
> 
> Should I file a bug?

Sure.

> 
> Michael Della Bitta
> 
> ------------------------------------------------
> Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017
> www.appinions.com
> Where Influence Isn’t a Game

- Mark Miller
lucidimagination.com











Reply via email to