Created
March 9, 2019 19:00
-
-
Save antunesleo/1f520d89ae571b4da149c04cda2083e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET user_location/_search | |
{ | |
"query": { | |
"bool" : { | |
"filter" : { | |
"geo_distance" : { | |
"distance" : "300m", | |
"location" : "-25.442987, -49.239504" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment