# ClusterPartition

Clusters the results of a specified query into a specified number of clusters.

This type of clustering creates the specified number of clusters, and places all documents into a cluster. This method is faster than the ClusterSnapshot method.

## Example

    http://12.3.4.56:9000/action=ClusterPartition&DREQuery=Finance&NumResults=500&NumClusters=5

This action clusters the results of a query for the term `Finance` into five clusters. It returns 500 results for the query, and clusters all these results.

## Required Parameters

The following action parameters are required.

Parameter | Description
--- | ---
DREQuery | The query that you want to cluster results for.
NumClusters | The number of clusters to create.
NumResults | The number of query results to return and cluster.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Username | The name of the user performing the action.

This action accepts the following standard ACI action parameters.

Parameter | Description
--- | ---
ActionID | A string to use to identify an ACI action.
EncryptResponse | Encrypt the output.
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.

_FT_HTML5_bannerTitle.htm