[ https://issues.apache.org/jira/browse/SOLR-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harish Agarwal updated SOLR-2198: --------------------------------- Attachment: SOLR-2198.patch I attached a patch which seems to fix the problem for fields using [Int, Long, Double, Float]FieldSource's. I made the 'exists' property on MutableValue's public and am using it to denote null values, all the non-grouping tests still pass. I'm still having trouble figuring out how to distinguish between a null string and "" - is this even possible? It would be good to get some feedback on the patch before I try to extend this to other field types (like SortableFields). > Grouping treats null values as equivalent to 0 or an empty string > ----------------------------------------------------------------- > > Key: SOLR-2198 > URL: https://issues.apache.org/jira/browse/SOLR-2198 > Project: Solr > Issue Type: Sub-task > Reporter: Harish Agarwal > Attachments: SOLR-2198.patch, SOLR-2198.patch > > > The grouping function does not distinguish between missing values and their > null type equivalents (0 for numeric types and an empty string for string > types). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org