How would I get the values of all the languages
from the records and make them unique.
Records
PUT items/1{ "language" : 10 }PUT items/2{ "language" : 11 }PUT items/3{ "language" : 10 }
Query
GET items/_search{ ... }# => Expected Response[10, 11]
Any help would be great.