added examples for adding document to elasticsearch