[
https://issues.apache.org/jira/browse/SOLR-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martijn van Groningen updated SOLR-3073:
----------------------------------------
Attachment: SOLR-3073-3x.patch
Thanks for noticing this issue!
I'm not sure if the response writers were ever meant to serialize UUID
instances. So maybe this is a general response writing bug?
I attached an alternative fix for this issue. Instead of invoking
FieldType#toObject method it invokes FieldType#toExternal method in the
TopGroupsResultTransformer class. I think this is a better approach for
distributed grouping since there is no overhead of creating an UUID object
(UUID#fromString). For distributed grouping we can just threat all ids as
strings.
> Distributed Grouping fails if the uniqueKey is a UUID
> -----------------------------------------------------
>
> Key: SOLR-3073
> URL: https://issues.apache.org/jira/browse/SOLR-3073
> Project: Solr
> Issue Type: Bug
> Affects Versions: 3.5
> Reporter: Devon Krisman
> Priority: Minor
> Fix For: 3.6
>
> Attachments: SOLR-3073-3x.patch, SOLR-3073-3x.patch
>
>
> Attempting to use distributed grouping (using a StrField as the
> group.fieldname) with a UUID as the uniqueKey results in an error because the
> classname (java.util.UUID) is prepended to the field value during the second
> phase of the grouping.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]