Creating Lucene index at constructor