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

Michael McCandless resolved LUCENE-2259.
----------------------------------------

    Resolution: Fixed

> add IndexWriter.removeUnferencedFiles, so apps can more immediately delete 
> index files when readers are closed
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-2259
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2259
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 3.1
>
>         Attachments: LUCENE-2259.patch
>
>
> This has come up several times on the user's list.
> On Windows, which prevents deletion of still-open files, IndexWriter cannot 
> remove files that are in-use by open IndexReaders.  This is fine, and 
> IndexWriter periodically retries the delete, but it doesn't retry very often 
> (only on open, on flushing a new segment, and on committing a merge).  So it 
> lacks immediacy.
> With this expert method, apps that want faster deletion can call this method.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to