You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Iana Bondarska <ya...@gmail.com> on 2016/04/15 16:23:49 UTC

Solr json api,metrics calculation

Hi All,
could you please help me with solr metrics on json api:
1) I don't see count metric in list of supported metrics -- is it really
not supported now? E.g. I have records like this:
city  name
NY   johnson
LA     smith
NY    null
LA   johnson.

And I want to count of names grouped by city. Seems that for now there is
only distinct count available

2) does average include null values? I checked old solr api -- it seems
that it does not include nulls in average. But json api does. Is that a bug
or they will work differently?

Thanks,
Iana