Sorting on a field whose name resembles an integer in scientific notation
-------------------------------------------------------------------------

                 Key: SOLR-2745
                 URL: https://issues.apache.org/jira/browse/SOLR-2745
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 3.3
            Reporter: Joey
            Priority: Minor


I have created a schema where the field names are in a uuid format eg: 
1cf1691c0-a1a4-4255-8943-57d87c923e31_t. I am also implementing dynamic fields 
via the 'star underscore' format eg: *_t.

Whenever I try and sort on a field name that has a format of one or more 
integers followed by an 'e', I get a NumberFormatException like the following: 
*java.lang.NumberFormatException: For input string: "8e"*. This particular 
error comes from trying to sort on a field name 
*8ecdced6f-3eb4-e508-4e7d-d40a86305096_dt*. If the field name started with 
12345e, I would get an error *java.lang.NumberFormatException: For input 
string: "12345e"*.

I'm not sure if this is a major issue or not but it is something that has 
appeared in our testing quite often. You would be surprised at how often 
randomly generated uuid's start with a number and then 'e'...

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to