Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring search to allow filtering on embedded properties

Updated on July 8, 2022
Applicable to deployments with embedded Elasticsearch.

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.

  1. Create or edit the indexing/useDataInstances dynamic system setting by performing one of the following actions:
    • To create a setting, go to step 2.
    • To edit an existing setting, go to step 3.
  2. Create a setting by performing the following actions:
    1. In the Dev Studio header, click CreateSysAdminDynamic System Settings.
    2. In the Short description field, enter a description.
    3. In the Owning Ruleset field, enter Pega-SearchEngine.
    4. In the Setting Purpose field, enter indexing/useDataInstances.
    5. Click Create and Open.
    6. In the Value field, enter true.
    7. Click Save.
  3. Edit an existing setting by performing the following actions:
    1. In the navigation panel, click RecordsSysAdminDynamic System Settings.
    2. Use the filter to locate the indexing/useDataInstances setting.
    3. Click the row of the setting.
    4. In the Value field, enter true.
    5. Click Save.
  4. Invoke search by using the pxRetrieveSearchData activity.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us