Skip to content

Instantly share code, notes, and snippets.

@barnybug
Created February 28, 2012 16:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barnybug/1933431 to your computer and use it in GitHub Desktop.
Save barnybug/1933431 to your computer and use it in GitHub Desktop.
curl -XPOST 'http://127.0.0.1:9200/test/a/1?pretty=true' -d '{"b": {"i": [null]}}'
curl -XPOST 'http://127.0.0.1:9200/_all/_flush?pretty=true'
curl -XGET 'http://127.0.0.1:9200/test/a/_search?q=*&fields=b&pretty=true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment