I can't remember the property name, but there is a Solr Java property that tells where to hunt for the data/ directory. You might be able to work around this bug using that property.
On Tue, Aug 14, 2012 at 1: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...) > > 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 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? > > Michael Della Bitta > > ------------------------------------------------ > Appinions | 18 East 41st St., Suite 1806 | New York, NY 10017 > www.appinions.com > Where Influence Isn’t a Game -- Lance Norskog goks...@gmail.com