How to limit text search to instances of specific classes
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.