Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jc1987/b0775bb1acabd6879638 to your computer and use it in GitHub Desktop.
Save jc1987/b0775bb1acabd6879638 to your computer and use it in GitHub Desktop.
add a document to elastic documents with windows bash
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