You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2015/02/08 22:29:33 UTC

[Solr Wiki] Update of "SpatialForTimeDurations" by jmlucjav

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SpatialForTimeDurations" page has been changed by jmlucjav:
https://wiki.apache.org/solr/SpatialForTimeDurations?action=diff&rev1=6&rev2=7

Comment:
I believe the max for days_of_year should be 366 to account for the leap years, for example mysql DAYOFYEAR(): Returns the day of the year for date, in the range 1 to 366.

  <fieldType name="days_of_year"
             class="solr.SpatialRecursivePrefixTreeFieldType"
             geo="false"
-            worldBounds="0 0 365 365"
+            worldBounds="0 0 366 366"
             distErrPct="0"
             maxDistErr="1"
             units="degrees"