Skip to content

Instantly share code, notes, and snippets.

@scottburton11
Last active December 11, 2015 09:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottburton11/4581837 to your computer and use it in GitHub Desktop.
Save scottburton11/4581837 to your computer and use it in GitHub Desktop.
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