Distinct value in elastic search with extra field inside {"key": "xyz", "doc_count": 1}
Distinct value in elastic search with extra field inside {"key": "xyz", "doc_count": 1} Question: I am working on Elastic Search (version 7.16) with Oython (version 3.6) I have the below rows in Elastic Search: {"owner": "john", "database": "postgres", "table": "sales_tab"}, {"owner": "hannah", "database": "mongodb", "table": "dept_tab"}, {"owner": "peter", "database": "mysql", "table": "new_tab"}, {"owner": "jim", "database": …