Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.8, 1.1.2
    • lucene
    • None

    Description

      Lucene property index needs to support following queries which make use of relative properties

      select [jcr:path], [jcr:score], * from [dam:Asset] as a 
      where [jcr:content/jcr:lastModified] > cast('2014-10-01T00:00:00.000+02:00' as date)
      

      Possible Approach

      1. Have the index definition define a property like foo/bar
      2. LuceneIndexEditor would also index child property foo/bar as part of parent node if present
      3. On update in child the child node can indicate the parent to make the document again
      4. On query side the property restriction can be used listerall i.e. foo/bar and stuff should work fine

      Attachments

        1. LuceneIndexEditor.java.patch
          11 kB
          Alex Deparvu
        2. OAK-2240.patch
          28 kB
          Chetan Mehrotra
        3. OAK-2240-test-rm.patch
          3 kB
          Alex Deparvu

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: