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 by performing one of the following actions:
-
Create a setting by performing the following actions:
- In the Dev Studio header, click .
- 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.
-
Edit an existing setting by performing the following actions:
- In the navigation panel, click .
-
Use the filter to locate the
indexing/useDataInstances
setting. - Click the row of the setting.
- In the Value field, enter true.
- Click Save.
- Invoke search by using the pxRetrieveSearchData activity.