Created
May 11, 2011 19:33
-
-
Save oalders/967141 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
# this returns results | |
curl -XGET 'http://127.0.0.1:9200/cpan/release/_search?scroll=5m&pretty=1' -d ' | |
{ | |
"query" : { | |
"term" : { | |
"status" : "latest" | |
} | |
}, | |
"explain" : 0, | |
"size" : 10 | |
} | |
' | |
# this returns no results | |
curl -XGET 'http://127.0.0.1:9201/cpan/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