You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (JIRA)" <ji...@apache.org> on 2013/03/03 19:01:12 UTC

[jira] [Resolved] (SOLR-703) Make UUIDField.toInternal use UUID.fromString

     [ https://issues.apache.org/jira/browse/SOLR-703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erick Erickson resolved SOLR-703.
---------------------------------

    Resolution: Won't Fix

SPRING_CLEANING_2013 We can reopen if necessary. 
                
> Make UUIDField.toInternal use UUID.fromString
> ---------------------------------------------
>
>                 Key: SOLR-703
>                 URL: https://issues.apache.org/jira/browse/SOLR-703
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Dariusz Suchojad
>            Priority: Minor
>         Attachments: SOLR-703-code.patch, SOLR-703-unittests.patch
>
>
> I thought I'd just mention that java.util.UUID supports parsing of strings
> containing UUIDs while still choking on anything UUID-like or simply plain wrong,
> as seen in attached patch and unittests. It won't accept Windows GUIDs with curly
> brackets {12345678-1234-5678-1234-567812345678}, but then again, neither did the previous 
> code. Perhaps it should though?  Considering that it will fail when someone 
> starts pulling data directly from MSSQL (http://wiki.apache.org/solr/DataImportHandler)?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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