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

Lucene fulltext query: "contains(*, 'x OR y')" not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • query
    • None

    Description

      The Lucene fulltext index currently doesn't correctly support conditions of the type "x OR y". The expected behavior (according to the JCR spec as well as the behavior of Jackrabbit 2.x) is to return nodes that contain either 'x' or 'y'. The current implementation is searching for nodes that match 'x' and 'OR' and 'y' all at the same time, using the query plan

      +text:{* TO *} +(+:fulltext:hello +:fulltext:or +:fulltext:hallo)
      

      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: