Content Component 25.4
Content Component Help

# Display the Number of Documents a Dynamic Cluster Contains

You can use the document IDs that dynamic clustering returns to display how many documents a dynamic cluster contains in a front-end application.

For example, assume that a query for `Apollo` returns 10 result documents with the document IDs listed in the following table.

Dynamic cluster name | IDs of documents in this dynamic cluster
--- | ---
Neil Armstrong |  | `2` |  |  | `5` |  | `7` |  | `9` | `10`
command module |  |  |  |  | `5` |  | `7` |  | `9` |
moon landing |  | `2` |  |  | `5` |  |  | `8` | `9` |
Greek mythology | `1` |  | `3` | `4` |  |  |  |  |  |
Zeus | `1` |  | `3` |  |  |  |  |  |  |

When Content displays the total number of documents that a dynamic cluster contains, it counts documents for a dynamic cluster only if they were not already counted for a previous dynamic cluster. The clusters have the following totals:

- Neil Armstrong (5)

- Greek mythology (3)

- moon landing (1)

- other (1)

Content determines the totals in the following way:

- The `Neil Armstrong` cluster contains five documents.

- The `command module` cluster contains only documents that were counted for the previous cluster, so it is not listed.

- The `moon landing` cluster contains one document because the documents with the IDs `2`, `5`, and `9` were counted for previous clusters.

- The `Greek myth` cluster contains three documents.

- The `Zeus` cluster contains only documents that were counted for the previous cluster, so it is not listed.

- One document that the query returned did not fit into any of the clusters. Content lists this document in the `other` cluster.

Copyright 2025 Open Text
Version 25.4 | Last updated October 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 Content Component 25.4

Topic Title: Display the Number of Documents a Dynamic Cluster Contains