elasticsearch/elasticsearch — pull request #1644 by kodart (2012-01-27 07:47:23+00:00)
Title: Comparators defined in TermsStatsFacet violate contract that is strictly checked in jdk 1.7

While running elasticsearch on jdk 1.7, faced a bug described above.
I've also made some code refactorings, I think you will like it.

There are 6 failed tests when building from sources, is it a normal practice to commit to master branch with failed tests or is it because of jdk 1.7?