diff --git a/test/unit/query/search.js b/test/unit/query/search.js index d4224dde..5de06f8f 100644 --- a/test/unit/query/search.js +++ b/test/unit/query/search.js @@ -220,7 +220,17 @@ module.exports.tests.query = function(test, common) { } } }, - 'sort': ['_score'].concat(sort.slice(1)), + 'sort': ['_score', + { + '_geo_distance': { + 'center_point': { + 'lat': 29.49136, + 'lon': -82.50622 + }, + 'order': 'asc', + 'unit': 'km' + } + }].concat(sort.slice(1)), 'size': 10, 'track_scores': true };