Browse Source

formatting

pull/11/head
Peter Johnson 10 years ago
parent
commit
2edc546db0
  1. 14
      query/reverse.js

14
query/reverse.js

@ -7,16 +7,16 @@ function generate( params ){
"query":{ "query":{
"filtered" : { "filtered" : {
"query" : { "query" : {
"match_all" : {} "match_all" : {}
}, },
"filter" : { "filter" : {
"geo_distance" : { "geo_distance" : {
"distance" : "1km", "distance" : "1km",
"center_point" : { "center_point" : {
"lat": params.lat, "lat": params.lat,
"lon": params.lon "lon": params.lon
}
} }
}
} }
} }
}, },

Loading…
Cancel
Save