0 Replies Latest reply on Aug 19, 2012 6:22 PM by deepbluez

    How to configure search result score to relevance

    deepbluez Level 1



      I am using a querybuilder to retrieve a list of pages using 'fulltext' search.


      It works fine and I also used 'orderby=@jcr:score' to sort my results. However, the default score does not meet our requirements. i.e., we would like to sort firstly if there's a match in the title, then in certain metadata, then by how many times the search term appeared in the page content.


      Is there anyway to configure the jcr:score? Or anyway to configure it programmatically?