Technical Details

NOTE
Protecting the Search Component or any AEM based application against DOS attacks should be implemented at a higher level, for example by using mod_security on the dispatcher.

The latest technical documentation about the Quick Search Component can be found on GitHub.

Further details about developing Core Components can be found in the Core Components developer documentation.

Edit Dialog

The edit dialog allows the content author to define where in the content tree the search should start.

Quick Search Component's edit dialog

Search Root - The root page from where to start the search. The Search Root can be a blueprint master, language master or regular page.

  • ID - This option allows control of the unique identifier of the component in the HTML and in the Data Layer.

    • If left blank, a unique ID is automatically generated for you and can be found by inspecting the resulting page.
    • If an ID is specified, it is the responsibility of the author to make sure that it is unique.
    • Changing the ID can have an impact on CSS, JS and Data Layer tracking.
NOTE
If the Search Root is not configured or can not be resolved, the Quick Search defaults to searching beneath the current page.

Design Dialog

Using the design dialog, the template author can set the default value for where in the content tree the search should begin as well as a maximum result set size and minimum search term length.The design dialog allows the template author to define which text formatting options are available to the content authors.