You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amrit Verma (Jira)" <ji...@apache.org> on 2020/12/14 10:34:00 UTC

[jira] [Updated] (OAK-9298) Date Range queries not working in elastic search index

     [ https://issues.apache.org/jira/browse/OAK-9298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amrit Verma updated OAK-9298:
-----------------------------
    Fix Version/s: 1.38.0

> Date Range queries not working in elastic search index
> ------------------------------------------------------
>
>                 Key: OAK-9298
>                 URL: https://issues.apache.org/jira/browse/OAK-9298
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: indexing
>            Reporter: Amrit Verma
>            Assignee: Amrit Verma
>            Priority: Major
>             Fix For: 1.38.0
>
>
> Example query -
> /jcr:root/content/dam//element(*, dam:Asset[    jcr:content/metadata/@prism:expirationDate > xs:dateTime('2020-05-21T12:32:35.886Z')
> ]
> Exception thrown -
> java.lang.IllegalArgumentException: cannot write time value xcontent for unknown value of type class java.util.Date
> org.apache.jackrabbit.oak.jcr.query.QueryManagerImpl.executeQuery(QueryManagerImpl.java:146)
> org.apache.jackrabbit.oak.jcr.query.QueryImpl$2.perform(QueryImpl.java:104)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)