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

                 Key: NXP-5499
                 URL: https://jira.nuxeo.org/browse/NXP-5499
             Project: Nuxeo Enterprise Platform
          Issue Type: New Feature
    Affects Versions: 5.3.2
            Reporter: Olivier Grisel
            Priority: Major
             Fix For: 5.4


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to