You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/12 18:15:13 UTC

[jira] [Commented] (LUCENE-7278) Make template Calendar configurable in DateRangePrefixTree

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

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

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

LUCENE-7278: DateRangePrefixTree's Calendar is now configurable


> 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