Created
March 22, 2011 05:15
-
-
Save sebaes/880814 to your computer and use it in GitHub Desktop.
Search filter in queries and not facets, expanded example from issue 650
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
curl -XPUT 'localhost:9200/twitter/tweet/1' -d ' | |
{ | |
"message" : "something blue", | |
"date" : "yesterday", | |
"tag" : "blue" | |
} | |
' | |
curl -XPUT 'localhost:9200/twitter/tweet/2' -d ' | |
{ | |
"message" : "something green", | |
"date" : "today", | |
"tag" : "green" | |
} | |
' | |
curl -XPUT 'localhost:9200/twitter/tweet/3' -d ' | |
{ | |
"message" : "something green", | |
"date" : "yesterday", | |
"tag" : "green" | |
} | |
' | |
curl -XPOST 'localhost:9200/_refresh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment