Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.2
-
None
Description
This is actually the same as LUCENE-463 but I cannot find a way to re-open that issue. I'm attaching a test case by dragon-fly999 at hotmail com that shows the problem and a patch that seems to fix it.
The problem is that a long (as used for dates) cannot be parsed as an integer, and the next step is then to parse it as a float, which works but which is not correct. With the patch the following parsers are used in this order: int, long, float.
Attachments
Attachments
Issue Links
- is depended upon by
-
SOLR-324 solr can't perform sort by long field
- Closed
- is related to
-
LUCENE-1015 FieldCache should support longs and doubles
- Resolved