The attached patch adds an optimization step to the
lucene indexer. This is a feature which is built in to
Lucene to keep the lucene index "neater", so this patch
just allows Aplaws to make use of it.
Simply runs optimization step after documents have been
updated.
patch