elasticsearch/elasticsearch — pull request #4728 by dakrone (2014-01-14 19:29:17+00:00)
Title: Add the ability to retrieve fields from field data using `fielddata_fields`

Adds a new FetchSubPhase, FieldDataFieldsFetchSubPhase, which loads the
field data cache for a field and returns an array of values for the
field.

Also removes a `doc['']` workaround no longer needed in field
name resolving.

Closes #4492