Hello, In Solr, when a user calls commit, the IndexWriter is closed (causing a commit). It is opened again only when another document is added or, a delete is performed. In order to support replication, Solr trunk now uses a deletion policy. The default policy is (should be?) equivalent to KeepOnlyLastCommitDeletionPolicy.
However, once a commit is performed, we see that the last two commit points are being kept back. The 2nd last one is cleaned up once the IndexWriter is opened again. It'd be great if someone can suggest on what we might be doing wrong. For the time being, we can work around this by using IW.commit and keeping the IW open. -- Regards, Shalin Shekhar Mangar.