Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9298

Date Range queries not working in elastic search index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.38.0
    • indexing
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              amrverma Amrit Verma
              amrverma Amrit Verma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: