© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Zolcsi
angular
Great article, thank you! I am wondering if it would be possible to give the establishment a radius field and in the query ask if the input location (without radius) is in the range of the establishment. How would you do it?
Matthew
You can get it
I don’t know about putting a radius field on the location but if you passed in the plceID into the filter params, it would have the same effect.
`if (!$util.isNull($context.args.input.byPlaceID )) $util.qr($query.bool.must.add({ "match": { "placeID": "$context.args.input.byPlaceID" } }))
#end `