N1QL - Creating an index for nested elements

the new documentation for CREATE INDEX on embedded arrays is documented here.
http://developer.couchbase.com/documentation/server/4.5/n1ql/n1ql-language-reference/indexing-arrays.html