Synchronize initialization of Lucene index