Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Filtering the search results in Lucene search

Avatar

Level 3

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?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

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

Avatar

Level 5

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