Using the right Lucene storage configuration