Internal search component | Community
Skip to main content
New Participant
November 14, 2024

Internal search component

  • November 14, 2024
  • 5 replies
  • 868 views

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?

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

    5 replies

    kautuk_sahni
    Employee
    December 16, 2024

    @brookeel Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

    Kautuk Sahni
    BrookeElAuthor
    New Participant
    November 15, 2024

    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. 

    sherinregi-1
    New Participant
    November 26, 2024

    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 . 

    EstebanBustamante
    New Participant
    November 15, 2024

    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
    muskaanchandwani
    Employee
    November 14, 2024

    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