elasticsearch/elasticsearch — pull request #7384 by juliar (2014-08-21 18:12:52+00:00)
Title: Update scripting.asciidoc

I was confused for a while why I couldn't access an object-valued field in a script using doc[...] until I found the explanation in the Script Fields documentation (http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-script-fields.html). I basically just copied the explanation from that page and added it here.