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

Julian Reschke edited comment on OAK-12343 at 8/13/26 12:48 PM:
----------------------------------------------------------------

[~thomasm] - I've set the fixVersion to 2.0.6 - this is correct, right?


was (Author: reschke):
@thomasm - I've set the fixVersion to 2.0.6 - this is correct, right?

> Document (and test) that ORDER BY on a type=Date ordered property fails when 
> values aren't valid dates
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-12343
>                 URL: https://issues.apache.org/jira/browse/OAK-12343
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Anton Hosgood
>            Priority: Major
>             Fix For: 2.0.6
>
>
> An ordered Lucene property index declared with type=Date only works if every 
> value is a valid ISO-8601 date. Values that aren't (a non-ISO timestamp, or a 
> plain string on some nodes) aren't indexed as dates, so ORDER BY on the 
> property either returns the wrong order or — if the query relies on that 
> property to select nodes — no results at all. type=String (or leaving type 
> unset, or order by lower(...)) works instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to