Search Component For Full Text Search | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Chandra_Hire

Hi @sanjana12 ,
In order to implement a search, at high level following steps needs to be followed.

1. Create AEM component - This will accept search text and render search results as per site design/UX. This component will call Search Service with given search string and render the result on the page got from the search service.

2. Create a AEM Search Service - AEM servlet/OSGi component to create and execute a query to search the results in the repository using QueryBuilder API.

3. Index the property

 

Please refer tutorial -

Simple search implementation guide | Adobe Experience Manager

L4080 - Lab Workbook - FINAL (adobe.com)

4 replies

Mohit_KBansal
Adobe Employee
Adobe Employee
September 3, 2022

Hello Sanjana

 

Use AEM Search Core component [1] for search implementation. 

 

[1] https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/quick-search.html?lang=en 

Manu_Mathew_
Community Advisor
Community Advisor
September 4, 2022
Chandra_Hire
Chandra_HireAccepted solution
Level 4
September 5, 2022

Hi @sanjana12 ,
In order to implement a search, at high level following steps needs to be followed.

1. Create AEM component - This will accept search text and render search results as per site design/UX. This component will call Search Service with given search string and render the result on the page got from the search service.

2. Create a AEM Search Service - AEM servlet/OSGi component to create and execute a query to search the results in the repository using QueryBuilder API.

3. Index the property

 

Please refer tutorial -

Simple search implementation guide | Adobe Experience Manager

L4080 - Lab Workbook - FINAL (adobe.com)