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

Full text search incorrect behaviour when wildcard is before the text

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.2.0.Final
    • 3.1.0.Final
    • Search
    • None

      I have two nodes with names name1 and name2. I execute full text search on them using JCR-SQL2.

      When I look for text name1 or name2 works ok.
      When I look for

      name*

      it finds them both - ok.
      But for

      *name*

      it finds nothing.

      If I name these nodes 1name and 2name.

      *name

      also finds nothing.

      Query string:

      SELECT a.* FROM [my:type] AS a WHERE CONTAINS(a.*, '*name*')
      

              hchiorean Horia Chiorean (Inactive)
              mmatloka Michal Matloka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: