Careful! The field selected contains analyzed strings. Values such as foo-bar will be broken into foo and bar. See Mapping Core Types for more information on setting this field as not_analyzed
Tip: {{agg.params.field.name + '.raw'}} may be a not_analyzed version of this field.