Re: Discreptancy in json.facet uniqe and group.ngroups

2016-09-06 Thread Nick Vasilyev
Thanks Alexandre, that does sound related. I wouldn't imagine the discrepancy would be that much, but I also realized that related items aren't grouped on the same shard. This may be why my grouped counts are off. I will do some manual verification of the counts. On Mon, Sep 5, 2016 at 12:22 PM,

Re: Discreptancy in json.facet uniqe and group.ngroups

2016-09-05 Thread Alexandre Rafalovitch
Perhaps https://issues.apache.org/jira/browse/SOLR-7452 ? Newsletter and resources for Solr beginners and intermediates: http://www.solr-start.com/ On 5 September 2016 at 23:07, Nick Vasilyev wrote: > Hi, I need to get the number of distinct values of a field and I am getting > different co

Discreptancy in json.facet uniqe and group.ngroups

2016-09-05 Thread Nick Vasilyev
Hi, I need to get the number of distinct values of a field and I am getting different counts between the json.facet interface and group.ngroups. Here are the two queries: {'q': '*:*', 'rows': 0, 'json.facet': '{'mfr': "unique('mfr')"}' }) This brings up around 6,000 in the mfr field. However,