IDOL Community Component 12.13

# Retrain Categories

Use the `CategorySetTraining` action to retrain a category. You can use text, documents, a Boolean expression, and category content or a combination of these to retrain a category. When you retrain a category, its original training merges with the new training. For example:

    action=CategorySetTraining&Category=323499876022105571056&Boolean=dog AND NOT cat&BuildNow=True

In this example, the IDOL Category component retrains the category with the ID `323499876022105571056` using the Boolean expression `dog AND NOT cat`. The `BuildNow` parameter instructs Category to build the categories immediately, so that they become active. You can also activate the category at a later point by using the `CategoryBuild` action.

Related Topics

- Build Categories

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL IDOL Community Component 12.13

Topic Title: Retrain Categories