rhec/pyelasticsearch — pull request #80 by patricksmith (2013-03-18 23:58:45+00:00)
Title: Allow documents with 0 ID

Allow a document to be indexed with an ID of 0. Also, raise a `ValueError` if `delete` is called without an ID.

Will break code that uses `delete('index', 'doc_type', '')` in lieu of `delete_all('index', 'doc_type')`.