Created
May 20, 2014 23:35
-
-
Save jc1987/b0775bb1acabd6879638 to your computer and use it in GitHub Desktop.
add a document to elastic documents with windows bash
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 "http://localhost:9200/twitterr/tweet/1" -d "{\"user\" : \"kimchy\", \"post_date\" : \"2009-11-15T14:12:12\",\"message\" : \"trying out Elasticsearch\"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment