You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2014/08/08 08:14:13 UTC

[jira] [Commented] (SOLR-6340) DataImportHandler does not replicate UUID fields correctly in SolrCloud

    [ https://issues.apache.org/jira/browse/SOLR-6340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14090359#comment-14090359 ] 

Shalin Shekhar Mangar commented on SOLR-6340:
---------------------------------------------

Thanks Daniel. What is the field type of entityId as defined in Solr's schema?

> DataImportHandler does not replicate UUID fields correctly in SolrCloud
> -----------------------------------------------------------------------
>
>                 Key: SOLR-6340
>                 URL: https://issues.apache.org/jira/browse/SOLR-6340
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.9
>            Reporter: Daniel Winterhalder
>            Assignee: Shalin Shekhar Mangar
>
> The same problem as it was fixed in SOLR-6165 also occurs for database fields of type UUID (corresp. Java class is java.util.UUID).
> The observed problem is: I import database records into the SolrCloud with DataImportHandler. In the Solr Core where the Solr document is originally imported, the UUIDs are imported correctly as strings.
> {code}
> <str name="entityId">0700a626-e9a1-42b5-801b-0546ac829020</str>
> {code}
> But in the replicated Solr Core the UUID got the Java class name prefixed:
> {code}
> <str name="entityId">java.util.UUID:0700a626-e9a1-42b5-801b-0546ac829020</str>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org