IDOL Server 12.13

# Train Categories

You can use the `CategorySetTraining` action to train a category. Category training can consist of text, documents, a Boolean expression, category content, or a combination of these. These elements identify text, documents, agents, profiles, and other categories that match the category.

For example:

    action=CategorySetTraining&Category=323499876022105571056&DocID=238,785,9912&BuildNow=True

In this example, the IDOL Category component trains the category with the ID `323499876022105571056` using the content of the documents with the IDs `238`, `785`, and `9912`. 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.

You can also train categories when you create them by assigning training action parameters to the `CategoryCreate` action.

NOTE: Categories that you create or import by using an action other than `CategoryCreate` are already trained. However, you can retrain them.

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 Server 12.13

Topic Title: Train Categories