Amrit Verma created OAK-9298: -------------------------------- Summary: 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
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)