Configuring search to allow filtering on embedded properties
By default, full-text search only allows report definitions to filter based on
top-level scalar properties. You can configure search to allow filtering based on embedded
properties using the indexing/useDataInstances
Dynamic System Setting and
invoking search using the pxRetrieveSearchData activity.
-
Create or edit the indexing/useDataInstances Dynamic System Setting.
- To create a setting:
- In the Designer Studio header, click + Create > SysAdmin > Dynamic System Settings.
- In the Short description field, enter a description.
- In the Owning Ruleset field, enter Pega-SearchEngine.
- In the Setting Purpose field, enter indexing/useDataInstances.
- Click Create and Open.
- In the Value field, enter true.
- Click Save.
- To edit an existing setting:
- In the Explorer panel, click SysAdmin > Dynamic System Settings.
- Use the filter to locate the
indexing/useDataInstances
setting. - Click the row of the setting.
- In the Value field, enter true.
- Click Save.
- To create a setting:
- Invoke search by using the pxRetrieveSearchData activity.