Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Lucene Search cannot display Embedded page properties

SA-28287

Summary



Search results display properties for top-level page properties only. No properties for embedded pages are displayed. Embedded page properties were added to the pySearchModel Data Transform and the Report Definition without error. However, these embedded page properties are not fetched with the other search result fields.

Error Messages



Not Applicable


Steps to Reproduce

  1. Create pySearchModel on required Work Class with the required properties to be displayed.
  2. Create a Report Definition on the required Work Class.
  3. Run indexing on the Work class.
  4. Run pxRetrieveSearchData with the newly created report name and any value on the case(s) being searched for.


Root Cause



Expected behavior

Resolution


Here is the explanation for the behavior reported by this Pega 7.1.7 case.

For releases prior to Pega 7.2, embedded properties cannot be referenced and displayed for Search.

If you are using a release prior to Pega 7.2, perform the following local-change to create the Report Definition with these restrictions:
  • It must be a list-type report.
  • Only top-level properties within the primary class of the report can be referenced.
  • No class joins, subreports, or SQL functions can be referenced.
  • The search string itself must be passed as a parameter to pxRetrieveSearchData.
    Other conditions such as how recently the item was updated, who created it, and so on, can be specified as filter conditions in the Report Definition.

If you update or upgrade to Pega 7.2, refer to these Help topics:
https://pdn.pega.com/sites/default/files/help_v72/procomhelpmain.htm#concepts/concepts2/understandingsearch.htm
https://pdn.pega.com/sites/default/files/help_v72/procomhelpmain.htm#basics/v6portal/v6pagesandclasses.htm
https://pdn.pega.com/sites/default/files/help_v72/procomhelpmain.htm#rule-/rule-obj-/rule-obj-report-/rule-obj-report-definition/reporteditor.htm

If you update or upgrade to Pega 7.3, refer to this Help topic and its related topics:
https://pdn.pega.com/sites/default/files/help_v73/procomhelpmain.htm#engine/search/eng-search-indexes-ref.htm

Published August 25, 2017 - Updated October 8, 2020

Was this useful?

100% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice