More fixes to elasticsearch plugin configuration.