update metadataQueryEngine to accept lucene index
update metadataQueryEngine to accept lucene index