Lucene code to update documents
Improved indexing for dataset entities