[ 
https://issues.apache.org/jira/browse/LUCENE-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shai Erera resolved LUCENE-2330.
--------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 4.2)
                       (was: 5.0)

I don't think this issue is relevant anymore.
                
> Allow easy extension of IndexWriter
> -----------------------------------
>
>                 Key: LUCENE-2330
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2330
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/index
>            Reporter: Shai Erera
>
> IndexWriter is not so easy to extend. It hides a lot of useful methods from 
> extending classes as well as useful members (like infoStream). Most of this 
> stuff is very straightforward and I believe it's not exposed for no 
> particular reason. Over in LUCENE-1879 I plan extend IndexWriter to provide a 
> ParallelWriter which will support the parallel indexing requirements. For 
> that I'll need access to several methods and members. I plan to contain in 
> this issue some simple hooks, nothing fancy (and hopefully controversial). 
> I'll leave the rest to specific issues. For now:
> # Introduce a protected default constructor and init(Directory, 
> IndexWriterConfig). That's required because ParallelWriter does not itself 
> index anything, but instead delegates to its Slices. So that ctor is for 
> convenience only, and I'll make it clear (through javadocs) that if one uses 
> it, one needs to call init(). PQ has the same pattern.
> # Expose some members and methods that are useful for extensions (such as 
> config, infoStream etc.). Some candidates are package-private methods, but 
> these will be reviewed and converted on a case by case basis.
> I don't plan to do anything drastic here, just prepare IW for easier 
> extendability.
> I'll post a patch after LUCENE-2320 is committed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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