Browse Source

fix broken test

pull/165/head
Harish Krishna 9 years ago
parent
commit
68dbf1bd2e
  1. 12
      test/unit/query/search.js

12
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
};

Loading…
Cancel
Save