Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Modify Lucene scoring for CQ site to show search result based on the custom weightage.


Level 1

Hi Folks,

In my CQ website, custom score calculation of lucene search is to be implemented where search keywords should be looked into page properties of website page and if keyword is present in property then a custom weight should be assigned to the page and accordingly it will look for other page properties and assign custom weight . Page ranking should be decided on the scoring that is derived from the sum of all the custom weights for every page. How to build index for the same as indexing_config.xml won't solve the issue.

Please let me know the way to implement the custom score calculation in for CQ website and then to perform the query searching to fetch the relevant results.

0 Replies