We are using cardinality aggregation in our project. We have around 1400000 documents each document consist filed named url. I want to count unique url wise document count. Hence I am using term aggregation along with cardinality. However I observed that count is not correct. From ELK documentation we can set precision_threshold to 40000 at max. Does that mean if unique count is more that 40000 then elastic query results will be in accurate. Could you please confirm.