We use Lucene to create simple data stores that we deploy with our
application.  Our application also supports auto-updating and we refresh
these data stores monthly.  Since Lucene computes the names for the index we
end up deploying new files each time while leaving the old files to continue
taking up space needlessly.

The options I see to resolve this are:
- After each update check all the data store locations and delete CFS files
that have a date earlier then the Segments files, or
- Create the index files with a consistent name so that we overwrite
existing files with new files during each auto-update.

I found one thread discussing this using "AddIndexes" but I could not follow
it through to implementation.  Also, we are using Java 1.4 not 1.5.

Any suggestions?


-- 
View this message in context: 
http://www.nabble.com/Controlling-index-file-name-tp16418709p16418709.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to