Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2567

Lucene Index Provider does not correctly handle Like constraints containing an Ampersand with a leading or trailing space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.0.0.Final, 4.6.0.Final
    • 4.5.0.Final
    • Query
    • None

    Description

      The Lucene index provider fails to find nodes that match the following LIKE constraints:

      • LIKE '% &%'
      • LIKE '%& %'

      If there is no space it works correctly

      • LIKE '%&%'

      or if there is no & it works correctly

      • LIKE '% %'

      If the index is disabled then the query works as expected.

      Attachments

        Activity

          People

            hchiorean Horia Chiorean (Inactive)
            ma6rl_jira Richard Lucas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: