Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0.0
-
None
-
None
Description
This update adds a new super class Index, extended by Directory. It allows for transparent communication between your application and the persistency mechanism. It takes issue 550 one step closer to backwards compability.
- Term and Document are no longer final classes.
- InterfaceIndexWriter
I also added these two in the Index.
abstract index.openIndexWriter()
abstract index.openIndexReader();
There is some bonus material that use this:
- Decorators for
- Index
- InterfaceIndexWriter
- IndexReader
- IndexSearcher
- NotifiableIndex, adds notification of changes to any Index.
- CreateListener
- DeleteListener
- OptimizationListener (not implemented)
- ContentUpdateListener, reacts to any change of the index. Optimized for some implementations.
- AutofreshedSearcher, contains a searcher that is always up to date with the index and have a buffer with old searchers that will be closed when nobody is using them anymore (hopefully).
Attachments
Attachments
Issue Links
- is part of
-
LUCENE-550 InstantiatedIndex - faster but memory consuming index
- Resolved