-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
facet.stat with avg() function returns NaN #21
Comments
What version is this? I can't reproduce this with the latest version of Heliosearch. |
Hello Yonik, Thanks for your answer. Below is the version I use:
http://127.0.0.1:8983/solr/test/select?q=*%3A*&wt=json&indent=true
{
Let me know if you have enough information Boris |
Ah, I was trying to reproduce with no values in a particular bucket, but now I see the issue was with no documents in a bucket. Thanks for the clarification, I can reproduce it now. I'll add mincount support so one cap specify "mincount=1" There are other longer term issues here too:
|
I want to get the top 10 countries with the higher average load time. The problem is that countries with NaN are in the top of the list (before countries with numeric value). I know the NaN value is generated by a /0 operation.
I would be useful to exclude from the result the values which have a document count equal to zero.
The text was updated successfully, but these errors were encountered: