Update to elasticsearch 1.0.1 (Lucene 4.7.0)

This patch makes the tests pass with Elasticsearch-1.0.1
I hope this helps!