You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "wangshanshan (JIRA)" <ji...@apache.org> on 2015/09/08 12:20:45 UTC

[jira] [Created] (SOLR-8017) solr.PointType can't deal with coordination in format like (0.9504547, 1.0, 1.0890503)

wangshanshan created SOLR-8017:
----------------------------------

             Summary: solr.PointType can't deal with coordination in format like (0.9504547, 1.0, 1.0890503)
                 Key: SOLR-8017
                 URL: https://issues.apache.org/jira/browse/SOLR-8017
             Project: Solr
          Issue Type: Improvement
    Affects Versions: 5.2
            Reporter: wangshanshan
            Priority: Minor


In jpg picture files there will be some fields like media_white_point, media_black_point, which in format like (0.9504547, 1.0, 1.0890503).
But solr.PointType can't deal with the "(", it just splis by comma and let Double.parse  deal with a string like "(0.9504547".
In this case, a NumberFormatException will be raised.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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