Open topic with navigation

# 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 HPE IDOL Server 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)

HPE IDOL Server 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. HPE IDOL Server lists this document in the `other` cluster.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm