Skip to content

Instantly share code, notes, and snippets.

@barnybug
Created March 9, 2012 13:52
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/2006593 to your computer and use it in GitHub Desktop.
Save barnybug/2006593 to your computer and use it in GitHub Desktop.
IOException when limiting by fields and returning nested arrays.
curl -XPOST 'http://127.0.0.1:9200/test/a/1?pretty=true' -d '{"b": [{"i": [1]}]}'
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.i&pretty=true'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment