Skip to content

Instantly share code, notes, and snippets.

@scottburton11

scottburton11/gist:4581837

Last active Dec 11, 2015
Embed
What would you like to do?
curl -X GET http://localhost:9200/gig_tracks/track/_search -d '
{ filter:
{ has_child:
{ type: gig_track,
filter:
{ geo_distance:
{ location :
{lat: 33, lng: -118},
distance: 100mi
}
}
}
}
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment