clojurewerkz/elastisch — pull request #45 by arr-ee (2013-11-18 22:09:20+00:00)
Title: Fixed tests

I was trying to get simple scroll API working as I've promised, but these failing specs were bothering me, so I've made 'em green.

First commit fixes sorting that for some reason goes awry on my machine (and @michaelklishin said there were other reports). Failing query was matching two documents with identical score and I have no idea how they were sorted after that, so my natural choise was to fix sorting order.

Second commit fixes native api spec that was failing since 0.90.5, I guess, and was introduced by the ES core team changing API. Maybe there should be some compatibility checks, I'm not quite sure about that.