Results > Customize Results > Generate Dynamic Clusters > Display the Number of Documents a Dynamic Cluster Contains

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 these document IDs:
 
When it 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. They have the following totals:
*
*
*
*
It 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.
*