Hi all,

We’re running a SolrCloud 7.1 instance in our service and I’ve come across at a 
disagreement when trying to find out the different values a field has:

Using the JSON facets API with unique():
3385

Using the JSON facets API with terms:
3388

Using the stats component:
countDistinct   3388
cardinality     3356

My biggest surprise is that the unique function using the JSON facets doesn’t 
get the value correctly. Is this to be expected, in the same way that 
cardinality is an approximation?

If this is a bug (unless there’s something very basic I’m missing, I think it 
is), how should I report it? It’s the fist time I’ve seen a disagreement 
between unique and terms, and I don’t know how to reproduce it unless it’s with 
our specific collection.

Many thanks in advance.

--
Alfonso Muñoz-Pomer Fuentes
Senior Lead Software Engineer @ Expression Atlas Team
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Tel:+ 44 (0) 1223 49 2633
Skype: amunozpomer

Reply via email to