Diversity search

This will first perform an advanced search and then cluster the top X (page_size) search results.
Results are returned as such:
Once you have the clusters:

Cluster 0: [A, B, C]
Cluster 1: [D, E]
Cluster 2: [F, G]
Cluster 3: [H, I]

(Note, each cluster is ordered by highest to lowest search score.

This intermediately returns:

results_batch_1: [A, H, F, D] (ordered by highest search score)
results_batch_2: [G, E, B, I] (ordered by highest search score)
results_batch_3: [C]

This then returns the final results:

results: [A, H, F, D, G, E, B, I, C]

Click Try It! to start a request and see the response here!