jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1763) OrderedIndex does not comply with JCR's compareTo semantics
Date Mon, 11 Aug 2014 13:09:11 GMT

    [ https://issues.apache.org/jira/browse/OAK-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14092742#comment-14092742

Michael Dürig commented on OAK-1763:

bq.  the timezone will rarely change on the server side.

This doesn't depend on the server's time zone but on the one specified by the client:

    setProperty("foo", "2014-04-22T10:11:24.002+01:00", PropertyType.DATE)

Will save the date property as string with the value {{2014-04-22T10:11:24.002+01:00}}. 

See also OAK-1111 for a related discussion. 

> OrderedIndex does not comply with JCR's compareTo semantics
> -----------------------------------------------------------
>                 Key: OAK-1763
>                 URL: https://issues.apache.org/jira/browse/OAK-1763
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Michael Dürig
> The ordered index currently uses the lexicographical order of the string representation
of the values. This does not comply with [JCR's compareTo sementics | http://www.day.com/specs/jcr/2.0/3_Repository_Model.html#]
for e.g. double values. 

This message was sent by Atlassian JIRA

View raw message