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

Explicit fulltext score in NXQL

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0
    • Upgrade notes:
      Hide

      New NXQL ecm:fulltextScore system property. It can be used in an ORDER BY clause, or in a SELECT clause when using queryAndFetch. It must be used in conjunction with a ecm:fulltext match in the WHERE clause.

      Show
      New NXQL ecm:fulltextScore system property. It can be used in an ORDER BY clause, or in a SELECT clause when using queryAndFetch. It must be used in conjunction with a ecm:fulltext match in the WHERE clause.

      Description

      For full generality, add a way to express the fulltext score in NXQL:

      SELECT ecm:fulltextScore, ... WHERE ecm:fulltext = 'foo'
      SELECT ... WHERE ecm:fulltext = 'foo' ORDER BY ecm:fulltextScore DESC
      

      This only applies if there a single fulltext match expression.

      This is also needed for compatibility with CMISQL semantics.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: