You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2008/04/28 01:40:59 UTC
[jira] Created: (SOLR-552) DateField does not format Date objects
for indexing according to DateField spec
DateField does not format Date objects for indexing according to DateField spec
-------------------------------------------------------------------------------
Key: SOLR-552
URL: https://issues.apache.org/jira/browse/SOLR-552
Project: Solr
Issue Type: Bug
Affects Versions: 1.2
Reporter: Hoss Man
This is related to, but not exactly the same as SOLR-544 and SOLR-470.
When DateMath was introduced in Solr 1.2 a SimpleDateFormat was introduced for formating Date objects as "internal" String values that (erroneously) include trailing zeros in milliseconds when the number of millis is divisible by 10. (ie: "2008-04-27T23:38:22.120" instead of "2008-04-27T23:38:22.12"
this makes it incorrect when doing lexigraphical comparisons with dates provided as strings by clients that follow the spec correctly (see SOLR-544)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SOLR-552) DateField does not format Date objects
for indexing according to DateField spec
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-552.
---------------------------
Resolution: Fixed
Fix Version/s: 1.3
Assignee: Hoss Man
fixed using patch in SOLR-470
Committed revision 658003.
> DateField does not format Date objects for indexing according to DateField spec
> -------------------------------------------------------------------------------
>
> Key: SOLR-552
> URL: https://issues.apache.org/jira/browse/SOLR-552
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.2
> Reporter: Hoss Man
> Assignee: Hoss Man
> Fix For: 1.3
>
>
> This is related to, but not exactly the same as SOLR-544 and SOLR-470.
> When DateMath was introduced in Solr 1.2 a SimpleDateFormat was introduced for formating Date objects as "internal" String values that (erroneously) include trailing zeros in milliseconds when the number of millis is divisible by 10. (ie: "2008-04-27T23:38:22.120" instead of "2008-04-27T23:38:22.12"
> this makes it incorrect when doing lexigraphical comparisons with dates provided as strings by clients that follow the spec correctly (see SOLR-544)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.