lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (LUCENE-2281) Add doBeforeFlush to IndexWriter
Date Tue, 23 Feb 2010 15:56:27 GMT

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

Michael McCandless reassigned LUCENE-2281:
------------------------------------------

    Assignee: Michael McCandless

> Add doBeforeFlush to IndexWriter
> --------------------------------
>
>                 Key: LUCENE-2281
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2281
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Shai Erera
>            Assignee: Michael McCandless
>             Fix For: 3.1
>
>         Attachments: LUCENE-2281.patch
>
>
> IndexWriter has doAfterFlush which can be overridden by extensions in order to perform
operations after flush has been called. Since flush is final, one can only override doAfterFlush.
This issue will handle two things:
> # Make doAfterFlush protected, instead of package-private, to allow for easier extendability
of IW.
> # Add doBeforeFlush which will be called by flush before it starts, to allow extensions
to perform any operations before flush begings.
> Will post a patch shortly.
> BTW, any chance to get it out in 3.0.1?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message