Adding information in the README

How to user the elasticsearch API to create an index or index a document