Hmm... Interesting question, not that I know of. The only way one could do this would be to intercept the newly optimized files via a FileSwitchDirectory like implementation that knows which new files are optimized and should "underneath" go to a different physical path.
On Mon, Sep 28, 2009 at 7:57 AM, Phillip Farber <pfar...@umich.edu> wrote: > > Is it possible to tell Solr or Lucene, when optimizing, to write the files > that constitute the optimized index to somewhere other than > SOLR_HOME/data/index or is there something about the optimize that requires > the final segment to be created in SOLR_HOME/data/index? > > Thanks, > > Phil > >