Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-23706

Wildcards in fulltext query against H2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.10-HF34, 8.10-HF18, 9.2
    • Fix Version/s: None
    • Component/s: Query & PageProvider
    • Tags:
    • Story Points:
      1

      Description

      Currently we cannot use leading wildcards in queries against H2. Lucene allows to do it by setting `setAllowLeadingWildcard` to the `QueryParser`.
      This is an important feature to have for development.

      Example:

      SELECT * FROM Document WHERE ecm:fulltext = '*text'

      Since, the flag for the Lucene parser wasn't set such query agains H2 causes an exception.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: