Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Search Component For Full Text Search

Avatar

Level 6

How to implement full text search for a webpage?

1 Accepted Solution

Avatar

Correct answer by
Level 5

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)

View solution in original post

4 Replies

Avatar

Correct answer by
Level 5

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)