An Introduction to Elasticsearch API