The author environment of AEM provides various mechanisms for searching for content, dependent on the resource type.
Outside the author environment other mechanisms are also available for searching, such as the Query Builder and CRXDE Lite.
To access the search panel, click on the Search tab at the top of the left-hand pane of the appropriate console.
The search panel lets you search across all your website pages. It contains fields and widgets for the following:
When your instance is configured for Lucene search you can use the following in Fulltext:
Execute the search by clicking Search at the bottom of the pane. Click Reset to clear the search criteria.
At various locations a filter can be set (and cleared) to drill down and refine your view:
In the Websites console a Find & Replace menu option allows you to search for, and replace multiple instances of a string, within a section of the website.
Select the root page, or folder, where you want the find and replace action to take place.
Select Tools then Find & Replace:
The Find & Replace dialog does the following:
Clicking Preview lists where the term has been found. You can select/clear specific instances to be replaced:
Click Replace to actually replace all instances. You will be asked to confirm the action.
The default scope for the find and replace servlet covers the following properties:
The scope can be changed using the Apache Felix Web Management Console (for example, at
CQ WCM Find Replace Servlet (com.day.cq.wcm.core.impl.servlets.FindReplaceServlet) and configure the scope as required.
In a standard AEM installation Find and Replace uses Lucene for the search functionality.
Lucene indexes string properties of up to 16k in length. Strings in excess of this will not be searched.