Get distinct count in json facet

2021-06-10 Thread jay harkhani
Hello, We are using Solr v-6.1.0. We have 2 shards and 2 replica. In collection there are lakhs of documents. When make query it returns around 2 documents. We need distinct count based on docNumber field in json facet query. We tried to use both unique and hll function but it not return a

Get distinct count in json facet

2021-06-10 Thread jay harkhani
Hello, We are using Solr v-6.1.0. We have 2 shards and 2 replica. In collection there are lakhs of documents. When make query it returns around 2 documents. We need distinct count based on docNumber field in json facet query. We tried to use both unique and hll function but it not return a