content_image/1010127.jpg
## 5.5.1 Enabling the rule-based categories feature 

To use the rule-based categories feature, you must enable the rule-based categorization type. Rule-based categorization is enabled for the collection by default. 

Document clusters:  To use document clustering, select Rule-based and Document clusters  as the categorization type when creating the collection. For further information about document clustering, see 9.6, “Document clustering” on page 330. 

In addition, if you want to add the query that you built from the content analytics miner, you must enable both the “Add rules to categories” and “Rebuild the category index” application user roles. By default, these user privileges are not enabled. Therefore, you must explicitly enable the roles by using the administration console. 

Configuring the application user role:  See “Configuring application roles” Appendix A of the previous version of the book for further details about configuring the application user roles. The previous version of the book can be downloaded from the additional material associated with this book. See Appendix B, “Additional materi al” on page 567 for details. 

After you enable the “Add rules to categories” feature, an icon is displayed in the content analytics miner toolbar (Figure 5-56). 

## 5.5.2 Configuring rules for rule-based categories 

<img src='content_image/1010127.jpg'>

With Content Analytics, you can define a rule category that is either based on Uniform Resource Identifier (URI) patterns or Document content rules. You can use the query that you build to define the Document content rules and easily add a category rule from the content analytics miner. 

