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] Created: (LUCENE-2259) add IndexWriter.removeUnferencedFiles, so apps can more immediately delete index files when readers are closed
Date Wed, 10 Feb 2010 15:39:27 GMT
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


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


Mime
View raw message