lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7278) Make template Calendar configurable in DateRangePrefixTree
Date Fri, 27 May 2016 12:05:13 GMT


Steve Rowe commented on LUCENE-7278:

My patch resulted in the same problem:

{noformat} /home/sarowe/git/lucene-solr/lucene/build/clover/reports/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTreeTest_testToStringISO8601__calendar_java_util_GregorianCalendar_time___areFieldsSet_false_areAllFieldsSet_false_lenient_true_zone_sun_util_calendar_ZoneInfo_id__UTC__offset_0_dstSavings_0_useDaylight_false_transitions_0_lastRule_null__firstDayOfWeek_1_minimalDaysInFirstWeek_1_ERA___YEAR___MONTH___WEEK_OF_YEAR___WEEK_OF_MONTH___DAY_OF_MONTH___DAY_OF_YEAR___DAY_OF_WEEK___DAY_OF_WEEK_IN_MONTH___AM_PM___HOUR___HOUR_OF_DAY___MINUTE___SECOND___MILLISECOND___ZONE_OFFSET___DST_OFFSET_____-6fh1l0.html
(File name too long)

I'll try Dawid's latest suggestion.  Unfortunately it took 273 minutes to run the last time,
so it'll be a while...

> Make template Calendar configurable in DateRangePrefixTree
> ----------------------------------------------------------
>                 Key: LUCENE-7278
>                 URL:
>             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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message