Skip to content

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

Open
@wangscu

Description

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
.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions