From 5a052627af1e8c47089df2600dd01e86c66c504c Mon Sep 17 00:00:00 2001 From: Harish Krishna Date: Wed, 15 Jul 2015 19:45:22 -0400 Subject: [PATCH] Revert "fix broken test" This reverts commit 68dbf1bd2ef5072ac0bb6c35dd73dd1e37cf5904. --- test/unit/query/search.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/test/unit/query/search.js b/test/unit/query/search.js index 5de06f8f..d4224dde 100644 --- a/test/unit/query/search.js +++ b/test/unit/query/search.js @@ -220,17 +220,7 @@ module.exports.tests.query = function(test, common) { } } }, - 'sort': ['_score', - { - '_geo_distance': { - 'center_point': { - 'lat': 29.49136, - 'lon': -82.50622 - }, - 'order': 'asc', - 'unit': 'km' - } - }].concat(sort.slice(1)), + 'sort': ['_score'].concat(sort.slice(1)), 'size': 10, 'track_scores': true };