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

Full-text search on the traversing index fails if the condition contains a slash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10
    • core, query
    • None

    Description

      A full-text search on the traversing index falls back to a sort of manual evaluation of results.
      This is handled by the FullTextTerm class, and it appears that it passes the constraint text through a cleanup process where it strips most of the characters that are neither Character.isLetterOrDigit(c) not in the list +-:&

      I'm not exactly sure where this list comes from, but I see the '/' character is missing which causes a certain type of query to fail.

      Example:

      //*[jcr:contains(., 'text/plain')]
      

      Attachments

        Activity

          People

            stillalex Alex Deparvu
            stillalex Alex Deparvu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: