Expand my Community achievements bar.

Internal search component

Avatar

Level 1

When adding the internal search component and testing the search feature in AEM. We noticed not all search results are appearing as expected. Is there something that we missed when configuring the search function or any recommendations on how to fix the issue?

5 Replies

Avatar

Employee

Capture the query being executed by the internal search (either from the logs or using query tracing/debugging)
Debug Logging Reference - https://helpx.adobe.com/in/experience-manager/kb/oak-jcr-query-analysis.html

Run the query in the Query Performance Tool to test its syntax and performance and also validate the Index being used

Avatar

Community Advisor

Hi, 

Check if the index used is up to date, there could be a chance that the index is stuck and its content is not updated.



Esteban Bustamante

Avatar

Level 1

Does the OOTB AEM search use JCR scoring to display search results, which includes page visits, page updates and overtime it will display results based on that weight? I am trying to confirm if this is why certain search results do not displayed unless the users check the "exact match" box. 

Avatar

Community Advisor

Hi @BrookeEl  it will use by default the lucene-based one which is usually based on the content structure , query type etc. But page visits and page updates as per my understanding are not part of the scoring and you need to integrate analytics or custom metrics for the same .