jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amrit Verma (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OAK-9298) Date Range queries not working in elastic search index
Date Mon, 14 Dec 2020 10:33:00 GMT

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

Amrit Verma commented on OAK-9298:
----------------------------------

http://svn.apache.org/viewvc?view=revision&revision=1884412

> 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
>
> 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)

Mime
View raw message