upgraded to lucene 4.2
directory-initialization is a oneliner and has been removed from index
-> we cannot check what isn't there (has been checking lucene anyways
which is tested heavily i assume)
upgraded to lucene 4.2.1
IndexReader has been renamed to DirectoryReader (whatever)
DirectoryReader.open doesn't need an additionla boolean argument to make
it read-only. Writeability hase been removed with lucene 4
the index-version may now be set by passing a
org.apache.lucene.util.Version to the createIndex or createRamIndex
functions, defaults to Version.LUCENE_35
added a read-only field to the index-constructor holding this version
removed initRamDirectory (only returning new RAMDirectory();)
removed initDirectory (only returning result of FSDirectory.open(file))
do not post seperate fields to the index-worker. give him a reference to
the index instead holding all the fileds index-worker may need
no need to import org.apache.lucene.util.Version (index holds a reference
to the used version)
we get the index holding all fields, no need hand them over seperately to
the executing functions