Changed ElasticSearch to Elasticsearch in api