diff options
author | Jim Ferenczi <jim.ferenczi@elastic.co> | 2017-02-21 18:18:44 +0100 |
---|---|---|
committer | Jim Ferenczi <jim.ferenczi@elastic.co> | 2017-02-21 18:18:44 +0100 |
commit | 1ba9770037c29c41cd6ee306957842e00489c320 (patch) | |
tree | 8d3366f9628c2ce2df9e32dc20003c072485fbf0 /core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java | |
parent | 5e4ba4a60ecc1169e86c1dd517ed05a225c5278b (diff) |
Fix comparaison of double in InternalTopHits
InternalTopHits uses "==" to compare hit scores and fails when score is NaN.
This commit changes the comparaison to always use Double.compare.
Relates #23253
Diffstat (limited to 'core/src/main/java/org/elasticsearch/rest/action/search/RestSearchAction.java')
0 files changed, 0 insertions, 0 deletions