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

Query: relative fulltext conditions return the wrong result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.13
    • core
    • None

    Description

      Fulltext conditions of the following form return the child node instead of the parent node:

      contains([node1/text], 'hello')
      

      This is because the filter doesn't contain the relative path (it doesn't contain the property name either, but that's not the problem here).

      The problem here is not the Lucene index, but the filter API, so it can't be easily fixed. I think it makes sense to fix it as part of OAK-902.

      Attachments

        Issue Links

          Activity

            People

              thomasm Thomas Mueller
              thomasm Thomas Mueller
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: