[
https://issues.apache.org/jira/browse/SOLR-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13196603#comment-13196603
]
Hoss Man commented on SOLR-3073:
--------------------------------
bq. ResponseWriters can handle j.u.UUID? because they fallback to toString()?
right ... i specifically remember asking when toObject was introduced if we
should call it "toSimpleObject" and give it javadocs listing the allowed
interfaces, and someone (ryan? noble?) said no, FieldTpes should be allowed to
return any Object and it's up to the client to decide how to deal with objects
they can't handle (ie: toString)
Incase of UUIDField, the JavaBinCodec can serialize it and you get a
java.util.UUID object on the other side.
> 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]