AEM4BEGINNER blog is for Beginners who are interested in learning Adobe Experience Manager (AEM) aka Adobe CQ5 from basics. The Information provided in this blog is for learning and testing purposes only. Here, I have posted the information which I know or gathered from different sources.
Creating AEM applications that use the Query Builder API to display search results
You can create an AEM application that searches the CQ repository for assets and displays the results to the end-user. For example, you can search CQ pages under a specific repository node (for example, in a child node under /content) and look for a specific search term. All pages that satisfy the search criteria are included in the search results. To search the Adobe CQ repository, you use Query Builder API. This API requires that you define search parameters and an optional filter. After you execute the query, the results are stored in a result set. You can display the result set in an Adobe CQ web page.
When working with the Query Builder API, you can use a Java API or a Restful API. This development article uses the Adobe CQ Query Builder Java API to perform searches.
A user specifies search criteria and the CQ repository is searched using the defined criteria
You can search the AEM repository and display the data result set. For example, here is the data result set for CQ pages located under /content and using the search term: "Geometrixx".
No comments:
Post a Comment
If you have any doubts or questions, please let us know.