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
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.
-
You can reply to this email to add a comment to the issue online.