Index, a new generalization super root
--------------------------------------

         Key: LUCENE-581
         URL: http://issues.apache.org/jira/browse/LUCENE-581
     Project: Lucene - Java
        Type: New Feature

  Components: Index  
    Versions: 2.0.0    
    Reporter: Karl Wettin
    Priority: Minor


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).



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to