Hi,
I want to find the exact cardinality value using the query. For lower value I am getting the correct result, but i want to get the correct value for all search.
Is it possible to get the exact value?
Any alternative method to find the exact unique count of one filed?
[aggs] => Array
            (
                [variant_count] => Array
                    (
                        [cardinality] => Array
                            (
                                [field] => variant_id
                                [precision_threshold] => 40000
                            )
                    )
                [gene_count] => Array
                    (
                        [cardinality] => Array
                            (
                                [field] => gene_name
                                [precision_threshold] => 40000
                            )
                    )
                [gene_list] => Array
                    (
                        [terms] => Array
                            (
                                [field] => gene_name
                            )
                    )
            )