Does calling commit with expungeDeletes=true result in a full rewrite of the index like an optimize does? or does it only merge away the documents that were "deleted" by commit?
Every two weeks or so we run a process to rebuild our index from the original documents resulting in a large amount of deleted docs still on disk, and basically doubling the amount of disk space used by the index. We are trying determine if it is best to just run an optimize at the end of this process, or if there is a better solution. This is with solr 4.3.