Skip to main content


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

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.

How to limit text search to instances of specific classes

Updated on May 3, 2019


Summary

This article describes how to exclude instances of specific concrete classes from full text search results.

The search function is accessed in the Developer portal from:

  • The Find tool (Rule- instances only).
  • The Find Content facility in the Advanced Search tool accessed from Edit > Advanced Search (Rule-, Data-, and Work- instances).

Index files are used to facilitate full text searching. You can configure a class so that its instances are not included in the indexing process and so are excluded from the search. Doing so reduces processing time and storage space. For example, if your application contains a work type that accumulates many objects per month but that are never searched, you can exclude their class.

Note: When Process Commander is initially installed, only the rule index setting (for rule searches) is enabled. For more information about enabling Advanced Search for data and work objects, see How to enable Find and Advanced Search for work objects and data instances.

 

Suggested Approach

Open the Class form. On the Advanced tab in the Full Text Search area, select the Exclude this class from search? check box and save the rule.

Preconditions for using this option

This option is meaningful only for concrete classes derived from the Work-, Rule-, or Data- base classes only when indexing is enabled, and only for instances of this exact class (not for instances of other classes derived from this class). As a best practice, do not select this option for Rule- classes.

When does the option take effect?

This option affects only indexing that occurs after you save the Class form. If you clear this check box when no indexes exist for a class, the resulting instances (such as work objects or data instances) do not appear in search results.

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