Aggregations based on text fields instead of keyword fields

Thanks, new post here: How to extract terms into a new field while indexing