Skip to content

Instantly share code, notes, and snippets.

@monken
Forked from oalders/gist:967141
Created May 15, 2011
Embed
What would you like to do?
# this returns results
curl -XGET 'http://api.beta.metacpan.org/release/_search?scroll=5m&pretty=1' -d '
{
"query" : {
"term" : {
"status" : "latest"
}
},
"explain" : 0,
"size" : 10
}
'
# this returns no results
curl -XGET 'http://api.beta.metacpan.org/module/_search?scroll=5m&pretty=1' -d '
{
"query" : {
"term" : {
"status" : "latest"
}
},
"explain" : 0,
"size" : 10
}
'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment