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 "David Smiley (JIRA)" <ji...@apache.org> on 2008/09/03 02:49:44 UTC

[jira] Updated: (SOLR-750) DateField.parseMath doesn't handle non-existent Z

     [ https://issues.apache.org/jira/browse/SOLR-750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley updated SOLR-750:
------------------------------

    Attachment: SOLR-750_DateField_no_Z.patch

> DateField.parseMath doesn't handle non-existent Z
> -------------------------------------------------
>
>                 Key: SOLR-750
>                 URL: https://issues.apache.org/jira/browse/SOLR-750
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: David Smiley
>            Priority: Minor
>         Attachments: SOLR-750_DateField_no_Z.patch
>
>   Original Estimate: 0.25h
>  Remaining Estimate: 0.25h
>
> I've run into situations when trying to use SOLR-540 (wildcard highlight spec) such that if attempts to highlight a date field, I get a stack trace from DateField.parseMath puking because there isn't a "Z" at the end of an otherwise good date-time string.  It was very easy to fix the code to make it react gracefully to no Z.  Attached is the patch.  This bug isn't really related to SOLR-540 so please apply it without waiting for 540.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.