lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Updated: (SOLR-2198) Grouping treats null values as equivalent to 0 or an empty string
Date Tue, 23 Nov 2010 17:32:15 GMT


Yonik Seeley updated SOLR-2198:

    Attachment: SOLR-2198.patch

Here's an updated patch based on Harish's patch, with support for additional field types,
with some additional changes.
- always set the value, regardless of the value of exists - this simplifies hashCode
- move the comparison of "exists" into subclasses so equalsSameTypecan be directly used by
- add support in compareTo

This is untested - I don't know if it works yet.  There are other issues with random testing
and sorting null values that I need to iron out first.

> Grouping treats null values as equivalent to 0 or an empty string
> -----------------------------------------------------------------
>                 Key: SOLR-2198
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Harish Agarwal
>         Attachments: SOLR-2198.patch, 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:
For additional commands, e-mail:

View raw message