Browse Source

pedantry: fix indentation and code comment

pull/140/head
Peter Johnson 10 years ago
parent
commit
d80008d098
  1. 5
      query/search.js

5
query/search.js

@ -18,7 +18,7 @@ function generate( params ){
query = queries.bbox ( centroid, { size: params.size, bbox: params.bbox } );
}
// add search condition to distance query
// add search condition to filtered query
query.query.filtered.query = {
'bool': {
'must': [{
@ -26,8 +26,7 @@ function generate( params ){
'query': params.input,
'fields': [ 'name.*' ]
}
}
]
}]
}
};

Loading…
Cancel
Save