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:

Content determines the totals in the following way: