Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Created: (LUCENE-2259) add IndexWriter.removeUnferencedFiles, so apps can more immediately delete index files when readers are closed

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 10, 2010, 7:39 AM

Post #1 of 1 (240 views)
Permalink
[jira] Created: (LUCENE-2259) add IndexWriter.removeUnferencedFiles, so apps can more immediately delete index files when readers are closed

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 [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.