I have a problem that I have been unable to solve for the past couple of months. I am using ES 6. In my index, there is a field of type "text". Documents keep increasing every day. I want to check & count all the fields with their values created on a particular day/date. My field value looks like this " abc/456/xyz/23-b/mnb.cb" . Everytime I try to use aggs on this field, Elastic search tokenizes like "abc", "456", "xyz", "23",etc and counts every tokens how many times they occur throughout an index. My main objective is to see how many duplicates are there, and I want ES to take my field value "abc/456/xyz/23-b/mnb.cb" as a single string and tell me if there is any exact looking value if any for a particular date. I have tried doing textfield=True, but it doesnot let me. Lot of people are talking about update mapping ; index=not analyzed. But, looks like you can't do it anymore. its either true or false only at the time of indexing and I don't want to reindex. What are my options here? please help!!