lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Norskog (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1691) Deal with deleting old index files in Windows auto-magicly
Date Sun, 16 May 2010 03:26:43 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867945#action_12867945
] 

Lance Norskog commented on SOLR-1691:
-------------------------------------

A different method would be: open the index, walk the FSDirectory, and delete every file that
Lucene does not care about. Is this possible?

> Deal with deleting old index files in Windows auto-magicly
> ----------------------------------------------------------
>
>                 Key: SOLR-1691
>                 URL: https://issues.apache.org/jira/browse/SOLR-1691
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>
> Windows users are frequently confused/frustrated by the size of an index after making
lots of changes/commits because of the way Windows prevents files with open handles from being
deleted.
> In Lucene-Java, IndexWriter will attempt to delete any old files whenever it can, but
only on a subsequent change -- we should see if we could add something to Solr to try and
be more proactive about this...
> http://old.nabble.com/Delete%2C-commit%2C-optimize-doesn%27t-reduce-index-file-size-to26958067.html

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


Mime
View raw message