Issue Details (XML | Word | Printable)

Key: LUCENE-581
Type: New Feature New Feature
Status: Closed Closed
Resolution: Won't Fix
Priority: Minor Minor
Assignee: Unassigned
Reporter: Karl Wettin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Lucene - Java

Index, a new generalization super root

Created: 27/May/06 03:19 PM   Updated: 23/Jul/06 08:41 PM
Return to search
Component/s: Index
Affects Version/s: 2.0.0
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works index.tar 2006-05-27 03:20 PM Karl Wettin 20 kB
File Licensed for inclusion in ASF works indexbonus.tar 2006-05-27 03:21 PM Karl Wettin 40 kB
Issue Links:
Incorporates
 

Resolution Date: 23/Jul/06 08:41 PM


 Description  « Hide
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).


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Karl Wettin added a comment - 27/May/06 03:20 PM
The required update

Karl Wettin added a comment - 27/May/06 03:21 PM
Bonus material

Karl Wettin added a comment - 23/Jul/06 02:02 PM
This issue can be deleted. It is now a part of issue 550, and have been changed from inheritence to an aggregation (strategy pattern) to ensure backwards compability.

Hoss Man added a comment - 23/Jul/06 08:41 PM
resolved per orriginal reporter as part of a larger (seperately tracked) issue