: Oh, yes on windows, using java 1.6 and Solr 1.4.1.

aparently no one has ever written a FAQ on this, so i just added one...

https://wiki.apache.org/solr/FAQ#Why_doesn.27t_my_index_directory_get_smaller_.28immediately.29_when_i_delete_documents.3F_force_a_merge.3F_optimize.3F


: > Are you on Windows? There is a JVM bug that makes Solr keep the old files,
: > even if they are not used anymore. The files are going to be eventually
: > removed, but if you want them out of there immediately try optimizing
: > twice, the second optimize doesn't do much but it will remove the old
: > files.

(NOTE: It's not a JVM Bug, it's just how the filesystem works in Windows: 
you can't delete files that are currently open)

-Hoss

Reply via email to