Allow customizing/subclassing of DirectoryReader
------------------------------------------------

                 Key: LUCENE-3734
                 URL: https://issues.apache.org/jira/browse/LUCENE-3734
             Project: Lucene - Java
          Issue Type: Sub-task
          Components: core/index
            Reporter: Uwe Schindler
            Assignee: Uwe Schindler
             Fix For: 4.0


DirectoryReader is final and has only static factory methods. It is not 
possible to subclass it in any way. The problem is mainly Solr, as Solr 
accesses directory(), IndexCommits,... and therefore cannot work on abstract 
IndexReader anymore. This should be changed, by e.g. handling reopening in the 
IRFactory, also versions, commits,... Currently its not possible to implement 
any other IRFactory that returns something else.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.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