[ https://issues.apache.org/jira/browse/SOLR-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harish Agarwal reopened SOLR-1380: ---------------------------------- Noticed that distributed search was crashing for me in the StatsComponent. I believe this is related to the fuzziness around when the returned stats values should be null for a field. I'm submitting a small patch which fixes the bug, and always returns null for stats values for which the count is equal to zero in both distributed and non-distributed search. My rationale behind this is that when the count is equal to zero, the min/max/mean values reported are garbage and should not be relied on as valid statistics for the field. Hopefully this can still be incorporated into the trunk before the 1.4 release. > Extend StatsComponent to MultiValued Fields > ------------------------------------------- > > Key: SOLR-1380 > URL: https://issues.apache.org/jira/browse/SOLR-1380 > Project: Solr > Issue Type: Improvement > Components: search > Affects Versions: 1.4 > Reporter: Harish Agarwal > Assignee: Grant Ingersoll > Priority: Minor > Fix For: 1.4 > > Attachments: SOLR-1380.patch, SOLR-1380.patch, SOLR-1380.patch, > SOLR-1380.patch > > Original Estimate: 0h > Remaining Estimate: 0h > > The StatsComponent does not work on multivalued fields. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.