Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GET user_location/_search
{
"query": {
"bool" : {
"filter" : {
"geo_polygon" : {
"location" : {
"points" : [
"-25.44373,-49.24248",
"-25.44297,-49.24230",
"-25.44177,-49.23642",
"-25.43961,-49.23822",
"-25.43991,-49.23781",
"-25.44170,-49.23647",
"-25.44210,-49.23586",
"-25.44218,-49.23506",
"-25.44358,-49.23491",
"-25.44406,-49.24139",
"-25.44373,-49.24248"
]
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.