elasticsearch/elasticsearch-py — pull request #164 by larsmans (2014-12-12 15:29:53+00:00)
Title: fix Elasticsearch.index with id=0

Previously, `id=0` triggered a POST rather than a PUT to id 0 because 0 is false in Python.