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

Daniel Winterhalder commented on SOLR-6340:
-------------------------------------------

The ids in our Solr schema are all of type "text".

Example:
{code}
<field name="entityId" type="text" indexed="true" stored="true" required="true" 
/>
{code}

> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to