Expand my Community achievements bar.

SOLVED

AEM Search Types

Avatar

Level 10

Hi all,

I am reading three types are Search in AEM: search-jcr, search-wcm, and searchenhanced.cq5wcm.

What are the differences among these three and when do we use what search?

Earlier, I read about QOM/JQOM type as well.

Kindly suggest where I could get all these Search types listed along with their comparisons as well as code samples.

Appreciate your replies.

Thanks,

Rama.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Can you point us to where you are reading about search-wcm?

The APIs to use to search/query AEM are QueryBuilder API, JCR-SQL/2 or JQOM.

QUeryBuilder API here:

Query Builder API

Scott's Digital Community: Creating AEM applications that use the Query Builder API to display searc...

JQOM:

Scott's Digital Community: Using the Java Query Object Model within Adobe Experience Manager

Here is a discussion of using JCR API to query data using JCR SQL:

Scott's Digital Community: Developing a Java Swing Application that displays Adobe Experience Manage...

These are the main APIs to query JCR Data

View solution in original post

3 Replies

Avatar

Level 8

Hi,

Can you let us know the use-case.

Avatar

Level 10

Hi,

There is no use case per say.

I am teaching various concepts of AEM to my colleagues and wanted to cover Search as a part of it.

Thanks,

Rama.

Avatar

Correct answer by
Level 10

Can you point us to where you are reading about search-wcm?

The APIs to use to search/query AEM are QueryBuilder API, JCR-SQL/2 or JQOM.

QUeryBuilder API here:

Query Builder API

Scott's Digital Community: Creating AEM applications that use the Query Builder API to display searc...

JQOM:

Scott's Digital Community: Using the Java Query Object Model within Adobe Experience Manager

Here is a discussion of using JCR API to query data using JCR SQL:

Scott's Digital Community: Developing a Java Swing Application that displays Adobe Experience Manage...

These are the main APIs to query JCR Data