lucene needs jpa entity and rebuilding index