Boost Value not working in full text search in AEM 6.1 | Community
Skip to main content
Level 2
November 20, 2015
Solved

Boost Value not working in full text search in AEM 6.1

  • November 20, 2015
  • 3 replies
  • 2448 views

We have a requirement of full text search where we have to show results based on relevancy. We have created a full text lucene index and assigned boost value to the properties. But we are not seeing any effect of boost value on the search results. Is there something else which is required to enable boost values in search? Our AEM version is 6.1 and oak version is Apache Jackrabbit Oak 1.2.2.

Attached is the index configuration and below is the query we are executing:
SELECT * FROM [nt:base] AS s WHERE (ISDESCENDANTNODE([/content/thf/en]) or ISDESCENDANTNODE([/content/dam/thf/en/docs])) and CONTAINS(s.*, 'Global Real Asset Fund') and ((s.[jcr:content/cq:tags] like '%thf:role/role1%') or (s.[jcr:content/metadata/cq:tags] like '%thf:role/role1%')) order by s.[jcr:score] desc

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ogill

From the documentation, it appears Boost is only available from OAK version 1.2.5[1]

Regards,

Opkar

[1] https://jackrabbit.apache.org/oak/docs/query/lucene.html#boost

3 replies

ogillAdobe EmployeeAccepted solution
Adobe Employee
November 20, 2015

From the documentation, it appears Boost is only available from OAK version 1.2.5[1]

Regards,

Opkar

[1] https://jackrabbit.apache.org/oak/docs/query/lucene.html#boost

Sunil_Chowdhary
Level 2
January 26, 2016

Support boost:-

https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes.html

To update Oak version to 1.2.7 or wait till Service Pack 1 gets released, which is scheduled for end of Q1 2016.

Amit_Kumar
Level 10
January 26, 2016

Thanks everyone, I resolved this by installing 1.2.7 from 

 
    
Hot fix 7700 *

which was released in october 15.

Regards,

Amit