lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7278) Make template Calendar configurable in DateRangePrefixTree
Date Sat, 14 May 2016 04:17:12 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15283409#comment-15283409
] 

ASF subversion and git services commented on LUCENE-7278:
---------------------------------------------------------

Commit af39ab8004927e88aa37e015ee92e752c0a12163 in lucene-solr's branch refs/heads/branch_6_0
from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=af39ab8 ]

LUCENE-7278: DateRangePrefixTree's Calendar is now configurable.
(cherry picked from commit 1f6487a and 32e16cb0e60cba8057d47be45ab022ba92e254ad)


> Make template Calendar configurable in DateRangePrefixTree
> ----------------------------------------------------------
>
>                 Key: LUCENE-7278
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7278
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: modules/spatial-extras
>            Reporter: David Smiley
>            Assignee: David Smiley
>             Fix For: 6.1
>
>         Attachments: LUCENE_7278.patch, LUCENE_7278.patch
>
>
> DateRangePrefixTree (a SpatialPrefixTree designed for dates and date ranges) currently
uses a hard-coded Calendar template for making new instances.  This ought to be configurable
so that, for example, the Gregorian change date can be configured.  This is particularly important
for compatibility with Java 8's java.time API which uses the Gregorian calendar for all time
(there is no use of Julian prior to 1582).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message