Reducing the scope: let's only address Elasticsearch in this ticket, and handle the Lucene part in HSEARCH-3118 Open