Database and insertion into the database works. IndexWriter is now also compiling