Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiskLuceneIndexDataLoader.loadFromIndex throw org.apache.lucene.store.AlreadyClosedException: this Directory is closed after use OptimizeType.FULL #7

Open
wangscu opened this issue Oct 15, 2011 · 1 comment

Comments

@wangscu
Copy link

wangscu commented Oct 15, 2011

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

@javasoze
Copy link
Contributor

Zoie merges with its own merge policy, it will not merge everytime there is a flush.

jhartman referenced this issue in jhartman/zoie Jul 23, 2013
Fixing reference counting issues Dmytro and Rahul reported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants