Expand my Community achievements bar.

AEM 6.0 Search score coming as 0.01 for all results

Avatar

Level 1

I am using AEM 6.0 SP1 with OAK 1.0.18 (have tried the same on 1.0.8 and 1.0.13 as well). I am using the QueryBuilder API to perform search with the embedded Lucene engine. I am facing an issue where all my search results have the value for SCORE as 0.01. Looking for inputs around the fix for this problem.

1 Reply

Avatar

Level 1

Old Post, but still relevant.

The Reason is a hardcoded value of 0.01 in the getter: jackrabbit-oak/RowImpl.java at trunk · apache/jackrabbit-oak · GitHub