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.
-
Tap/click the Experience Manager logo, and then go to Tools > General > Search Forms.
-
From the Search Forms page, select Assets Admin Search Rail, then tap Edit
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:- Navigate to /conf/global/settings/dam/search/facets/assets/jcr:content/items in CRX-DE.
- Delete the type node.
- 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.
- Save the changes.
-
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
-
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
-
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
-
Tap/click the Preview
-
Review the layout of the predicate in the Preview mode.
Preview the search form before submitting the changes
-
To close the preview, tap/click the Close
-
Tap Done to save the settings.
-
Navigate to the Search panel in the Assets user interface. The Property predicate is added to the panel.
-
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.