javasoze/zoie — Issue #7:  DiskLuceneIndexDataLoader.loadFromIndex throw org.apache.lucene.store.AlreadyClosedException: this Directory is closed after  use  OptimizeType.FULL 
Author: wangscu
Created: 2011-10-15 03:47:08+00:00
State: open

i found that zoie disk index did not merge index unless use OptimizeType.FULL when DiskLuceneIndexDataLoader loadFromIndex from ramindex. but after use OptimizeType.FULL , when swap SearchIndexManager staus from working to sleep, the lockAndSwapMem method did not change the _mem to new mem , because the oldDiskReader == diskIndexReader
.