avoid double initialization of lucene indexes