Quantcast
Channel: ElasticSearch - Return Unique Values - Stack Overflow
Viewing all articles
Browse latest Browse all 9

ElasticSearch - Return Unique Values

$
0
0

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.


Viewing all articles
Browse latest Browse all 9

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>