Created
July 20, 2011 01:04
-
-
Save deverton/1094119 to your computer and use it in GitHub Desktop.
Invalid Facet Query NPE Test Case
This file contains hidden or 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
#!/bin/bash | |
curl -S -XDELETE http://localhost:9200/testindex > /dev/null | |
curl -S -XPUT http://localhost:9200/testindex > /dev/null | |
curl -XPOST http://localhost:9200/testindex/_search?pretty=true -d '{ | |
"query" : { "match_all" : {} }, | |
"facets" : { | |
"tags" : { | |
"field" : "tag", | |
"size" : 3 | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment