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

JCR-SQL2 Full text search does not support bind variables

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.2.0.Final
    • 3.1.0.Final
    • JCR, Query, Search
    • None

    Description

      The following full text search query using bind variable

      SELECT a.* FROM [my:a] AS a WHERE CONTAINS(a.*,$expression)
      

      Results in a such exception

      The JCR-SQL2 query "SELECT a.* FROM [my:a] AS a WHERE CONTAINS(a.*,$expression) is not well-formed: Expecting ")" but found "expression" at line1, column x: a.*,$===>> expression)
      

      According to JCR spec usage of bind variable in CONTAINS is allowed.

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            mmatloka Michal Matloka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: