# Partition Documents into Clusters

Partition clustering is a different method of clustering that allows you to create a specified number of clusters, and to place all documents into a cluster. This method is faster than using `ClusterSnapshot`.

This method adds all documents into a cluster, which means that the clusters generated are relatively broad and might represent several topics. You might want to use this method if you want to cluster the results of a query into a predefined number of clusters.

To partition documents into clusters

- Send the `ClusterPartition` action to the IDOL Category component. Set the following action parameters:

  `DREQuery` | The query that you want to cluster the results for.
  `NumResults` | The number of results from the specified query that you want to return and cluster.
  `NumClusters` | The number of clusters to create.

For more information about the `ClusterPartition` action, refer to the IDOL Server Reference.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm