Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Filtering the search results in Lucene search

Avatar

Level 1

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

hi @2395269 ,

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

hi @2395269 ,

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 @2395269 ,

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