Category Component 25.2
Category Component Help

# CategoryPartition

Allows you to divide up a specified set of documents into several partitions, with every document being assigned to a partition. This option is similar to clustering, but it addresses all documents in a query set. When the partitions have been created, the Category component generates a title for each partition.

You can create categories from your partitions, in a similar way to the CategoryImportFromCluster action.

## Example

    http://12.3.4.56:9020/action=CategoryPartition&DREQuery=finance&NumResults=1000&NumPartitions=10

This action partitions 1,000 documents related to the query `finance` into 10 partitions.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
DREQuery | The query whose results you want to partition.
NumResults | The number of result documents to partition.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
CreateCategories | Whether to create categories from the partitions.
NumPartitions | The number of partitions that you want to put documents into.
Parent | The parent category in which to create the new categories.
PartitionMaxTerms | The maximum number of terms that a partition can have.

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
FileName | The file to write output to.
ForceTemplateRefresh | Forces the server to load the template from disk.
Output | Writes output to a file.
ResponseFormat | The format of the action output.
Template | The template to use for the action output.
TemplateParamCSVs | A list of variables to use for the specified template.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Category Component 25.2

Topic Title: CategoryPartition