[
https://issues.apache.org/jira/browse/SOLR-2745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13098507#comment-13098507
]
Joey commented on SOLR-2745:
----------------------------
I store data that I assume the dynamic field expects. ie: *_t is text, *_dt is
storing only dates, *_i is storing only integers. I'm not putting unexpected
data into these fields. Also, I'm not allowing users from the front-end of my
system to sort on text fields but that's beside the point.
I reinstalled 3.3 to make sure I had the latest version and started from
scratch with only 3 docs indexed. Sorting on the _dt field (actual field name
*8ecdced6f-3eb4-e508-4e7d-d40a86305096_dt*) still gives me that same error.
I can confirm that there is only datestamps in my dynamic date fields in the 3
indexed docs I now have.
I am no expert but from this it seems that the error is not a data one but a
field name parsing issue.
> 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]