2 Replies Latest reply on Mar 13, 2013 7:03 PM by Sham HC

    Calculation of jcr:score in CQ5

    Anoop_Kumar Level 1

      Hi,

       

      We are running a JCR SQL2 query to perform search over the content within pages. We have come across a clause "order by jcr:score" which I assume will be ordering the search results but I am not sure what is the ordering criteria. When i looked through the JCR specification at http://www.day.com/specs/jcr/1.0/6.6.5.3_jcr_score_function.html it suggests that "how this value is calculated is left up to the implementation" . I am not sure what implementation is referred to here - is it referring to Jackrabbit implementation?

       

      Has anyone used jcr:score in their applications and could help shed some light on what it means and how does the ordering work in case of a searches on cq:pagecontent nodes.

       

      Thank you for your time.

       

      Thanks and Regards,

      Anoop Kumar