Using the AEM search (Query Builder/Oak/Lucene) to search for content (articles) based on one or more terms, I notice that the order I receive the results doesn't feel relevant. The order does not feel relevant because articles which have more content and more occurrences of the search terms show lower in the results order. I order my results by score in descending order (I believe that is the default sort order).
When debugging in IntelliJ and looking at the score value of each Hit via the getScore() method, I always receive a value of 0.01 which feels odd.
Using a debugging tool like the "Query Builder Debugger" I would like to confirm that the score returned by the query really is 0.01. The "Query Builder Debugger" only shows the path in the results view. Is there another tool I can use to troubleshoot this problem ? How can I easily trouble shoot my problem by viewing the actual score returned by lucene ?
How can I maybe access lucene directly and do queries against it ?
How can I run the following type of query and see the result of it ?
select [oak:scoreExplanation], [jcr:path], [jcr:score], * from [cq:Page]