Adding a Predicate

The search facets that appear in the Filters panel are defined in the underlying search form using predicates. To display more or different facets, you add predicates to the default form or use a custom form that includes facets of your choice.

For full-text searches, add the Fulltext predicate to the form. Use the Property predicate to search for assets that match a single property you specify. Use the Options predicate to search assets that match one or more values for a particular property. Add the Date Range predicate to search assets created within a specified date range.

  1. Tap/click the Experience Manager logo, and then go to Tools > General > Search Forms.

  2. From the Search Forms page, select Assets Admin Search Rail, then tap Edit aemassets_edit .

    Locate and select the Assets Admin Search Rail

    Locate and select the Assets Admin Search Rail

    NOTE
    To use the folder search functionality from the pre-configured Assets Admin Search Rail from an earlier Experience Manager version, perform these steps:
    1. Navigate to /conf/global/settings/dam/search/facets/assets/jcr:content/items in CRX-DE.
    2. Delete the type node.
    3. From the path /libs/settings/dam/search/facets/assets/jcr:content/items, copy the nodes asset, directory, typeor, excludepaths, and searchtype to the path mentioned on step 1.
    4. Save the changes.
  3. In the Edit Search Forms page, drag a predicate from the Select Predicate tab to the main pane. For example, drag Property Predicate.

    Drag-and-drop a predicate to customize the search filters

    Drag-and-drop a predicate to customize the search filters

  4. In the Settings tab, enter a field label, placeholder text, and description for the predicate. Specify a valid name for the metadata property you want to associate with the predicate.

    The header label in the Settings tab identifies the type of the selected predicate.

    Use the Settings tab to provide the required options of a predicate

    Use the Settings tab to provide the required options of a predicate

  5. In the Property Name field, specify a valid name for the metadata property you want to associate with the predicate. It is the name based on which the search is performed. For example, enter jcr:content/metadata/dc:description or ./jcr:content/metadata/dc:description.

    You can also select an existing node from the selection dialog.

    Associate a metadata property with a predicate in the Property Name field

    Associate a metadata property with a predicate in the Property Name field

  6. Tap/click the Preview preview to generate a preview of the Filters panel as it appears after you add the predicate.

  7. Review the layout of the predicate in the Preview mode.

    Preview the search form before submitting the changes

    Preview the search form before submitting the changes

  8. To close the preview, tap/click the Close close on the upper-right corner of the preview.

  9. Tap Done to save the settings.

  10. Navigate to the Search panel in the Assets user interface. The Property predicate is added to the panel.

  11. Enter a description for the asset to be searched in the text box. For example, enter “Adobe.” When you perform a search, assets with description matching “Adobe” are listed in the search results.