Filtering the search results in Lucene search | Adobe Higher Education
Skip to main content
Level 3
December 5, 2022
Répondu

Filtering the search results in Lucene search

We have implemented Search functionality using Lucene search mechanism, we wanted to filter out the results based on the filters which we have on search-result page, if we check any filter word results should be updated based on the checked word.
Can anyone please help us how we can apply Filter's to the searched results and update the results accordingly.

How to apply filters to searched results in Lucene Search?

Ce sujet a été fermé aux réponses.
Meilleure réponse par Nikita___Garg

hi @aj_9625932 ,

Please refer to Efficiently implementing search components in AEM (nextrow.com) which will explain you on search implementation in AEM.

Hope that this helps.

Thanks,

Nikita Garg

2 commentaires

Adobe Employee
December 5, 2022

hi @aj_9625932 ,

Please refer to Efficiently implementing search components in AEM (nextrow.com) which will explain you on search implementation in AEM.

Hope that this helps.

Thanks,

Nikita Garg

Chandra_Hire
Level 4
December 5, 2022

Hi @aj_9625932 ,

You need to rebuild the query based on the filters selected. (Please refer - Query Builder API | Adobe Experience Manager)

Also, for faster search result, configure indexing for properties to be filtered (Please refer - Oak Queries and Indexing | Adobe Experience Manager)

Hope this helps.

Thanks,

Chandra