title: how to use python Elasticsearch client upsert api
body: <p>I'm using Elasticsearch python client as <a href="http://elasticsearch-py.readthedocs.org/">http://elasticsearch-py.readthedocs.org/</a>
  I tried hard but still could not find the update api with upsert. Could anyone give me an example with ES python client upsert api please.</p>