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

Make it possible to order NXQL fulltext search results by relevance with the keywords in the query

    XMLWordPrintable

    Details

      Description

      Most fulltext indexing implementation provide a ranking measure of the relevancy of results w.r.t. the keywords in the query. However this is not available in the NXQL query syntax.

      The CMISQLQueryMaker implementation provides a SCORE() predicate that for this purpose:

      SELECT SCORE() AS relevance FROM cmis:document WHERE CONTAINS('keyword') " ORDER BY relevance

      The NXQLQueryMaker has to be extended to provide the same feature and should probably be used sort criterion by default in the content views for simple search text box of DM, DAM and DM "faceted" navigation views whenever the fulltext keyword field is not empty.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: