lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Cox (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2785) Solr / Lucene
Date Tue, 20 Sep 2011 11:29:08 GMT
Solr / Lucene
-------------

                 Key: SOLR-2785
                 URL: https://issues.apache.org/jira/browse/SOLR-2785
             Project: Solr
          Issue Type: Bug
          Components: Schema and Analysis
    Affects Versions: 3.3
         Environment: Debian Gnu/Linux, OpenJDK Runtime Environment 14.0-b16


            Reporter: Howard Cox


The Solr DateField appears to only be partially ISO 8601 compliant.

The DateMathParser requires Timezone modifications to be in the format "+nMINUTES", "+xHOURS",
"+yDAYS" etc.

[http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html]


ISO 6801 states that timezone modifications should be in the format +00:01, +01:00

[http://en.wikipedia.org/wiki/ISO_8601#Time_offsets_from_UTC]

It would be useful if Solr DateField could parse both (I presume there's a reason for +nMINUTE
etc somewhere in Java.)


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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message