cloudSearch有没有办法在q(queryString)中使用expr的结果

我想得到只有在0到500范围内的文件,任何人都可以帮助我

let qs = this.serialize({ 'q': "nikhil+range **<distance <= 500>**", 'expr.distance': "haversin(35.621966,-120.686706,latlong.latitude,latlong.longitude)", 'sort': "distance asc", 'q.parser' = "structured", 'return': "distance,displayname,profileimageurl" }); console.log(qs); return http.get({ host: 'search-vegme-user-7l3rylms73566frh4hwxblekn4.us-east-1.cloudsearch.amazonaws.com', path: '/2013-01-01/search?' + qs }, function(response) { // Continuously update stream with data var body = ''; response.on('data', function(d) { body += d; }); response.on('end', function() { console.log(body); }); }); 

       

网上收集的解决方案 "cloudSearch有没有办法在q(queryString)中使用expr的结果"