Prezeráte obsah pomocníka verzie:

The author environment of AEM provides various mechanisms for searching for content, dependent on the UI you are using (and the resource type).

Poznámka:

Outside the author environment other mechanisms are also available for searching, such as the Query Builder and CRXDE Lite.

Touch-Optimized UI

Search is available from the top toolbar:

chlImage_1

With the search rail you can:

  • Search for a specific keyword, path or tag.
  • Filter according to resource specific criteria, such as modified dates, page status, file size, etc.
  • Define and use a saved search - based on the above criteria.

Poznámka:

Search can also be invoked by using the hotkey / (forward slash) whenever the search rail is visible.

Search and Filter

To search and filter your resources:

  1. Open Search (with the magnifying glass in the toolbar) and enter your search term. Suggestions will be made and can be selected:

    chlImage_1

    By default the search results will be limited to your current location (i.e. console and related resource type):

    chlImage_1
  2. If required, you can remove the location filter (select X on the filter you want removed) to search across all consoles/resource types.

  3. The results will be shown, grouped according to console and related resource type.

    You can either select a specific resource (for further action), or drill down by selecting the required resource type; for example View All Sites:

    chlImage_1
  4. If you want to drill down further, select the Rail symbol (top left) to open the side panel Filters & Options

    chlImage_1

    According to the resource type Search will show a predefined selection of search/filter critera.

    The side panel allows you to select:

    • Saved Searches
    • Search Directory
    • Tags
    • Search Criteria; for example, Modified Dates, Publish Status, LiveCopy Status.

    Poznámka:

    The search criteria can vary:

    • Depending on the resource type you have selected (for example the Assets and Communities), criteria are understandably specialized.
    • Your instance as the Search Forms can be customized (appropriate to the location within AEM).

    chlImage_1
  5. You can also add additional search terms (for example Triangle and Circle):

    chlImage_1
  6. Close Search with the X (top right).

Saved Searches

As well as searching by a wide range of facets you can also save a particular search configuration for retrieval and use at a later stage:

  1. Define your search criteria and select Save.

  2. Assign a name, then use Save to confirm:

    chlImage_1
  3. Your saved search will be available from the selector the next time you access the search panel:

    chlImage_1
  4. Once saved you can:

    • Use x (against the name of the saved search) to start a new query (the saved search itself will not be deleted).
    • Edit Saved Search, change the search conditions, then Save again.

Classic UI

Search - Classic UI

To access the search panel, click on the Search tab at the top of the left-hand pane of the appropriate console.

chlImage_1

The search panel lets you search across all your website pages. It contains fields and widgets for the following: 

  • Fulltext: Search for the specified text
  • Modified after/before: Search only those pages that were changed between the specific dates
  • Template: Search only those pages based on the specified template
  • Tags: Search only those pages with the specified tags

Poznámka:

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.

Filter - Classic UI

At various locations a filter can be set (and cleared) to drill down and refine your view:

chlImage_1

Find and Replace - Classic UI

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.

  1. Select the root page, or folder, where you want the find and replace action to take place.

  2. Select Tools then Find & Replace:

    screen_shot_2012-02-15at120346pm
  3. The Find & Replace dialog does the following:

    • confirms the root path where the find action should start
    • defines the term to be found
    • defines the term that should replace it
    • indicates whether the search should be case-sensitive
    • indicates whether only whole words should be found (otherwise substrings are also found)

    Clicking Preview lists where the term has been found. You can select/clear specific instances to be replaced:

  4. 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:

  • jcr:title
  • jcr:description
  • jcr:text
  • text

The scope can be changed using the Apache Felix Web Management Console (for example, at http://localhost:4502/system/console/configMgr). Select CQ WCM Find Replace Servlet (com.day.cq.wcm.core.impl.servlets.FindReplaceServlet) and configure the scope as required.

Poznámka:

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.

Licencia na používanie tohto diela sa poskytuje v súlade s podmienkami licencie Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Na príspevky v sociálnych sieťach Twitter™ a Facebook sa nevzťahujú podmienky licencií Creative Commons.

Právne upozornenia   |   Zásady ochrany osobných údajov online