clarencen/lshift — Issue #43: Upgrade Lucene
Author: clarencen
Created: 2011-11-14 22:41:29+00:00
State: open

According to the Lucene [changelog](http://lucene.apache.org/java/3_2_0/changes/Changes.html#3.1.0.changes_in_backwards_compatibility_policy):

> IndexWriter no longer performs an empty commit upon new index creation. Previously, if you passed an empty Directory and set OpenMode to CREATE*, IndexWriter would make a first empty commit. If you need that behavior you can call writer.commit()/close() immediately after you create it.

So we need to uprev to the latest version of Lucene (at the time of writing it was 3.3.0) and make sure that we call this.