see on GitHub

Commands: Indexes: How to get index merge suggestions?

GetIndexMergeSuggestions will retrieve all suggestions for an index merging.

Syntax

public IndexMergeResults getIndexMergeSuggestions();

Return Value
IndexMergeResults Merge suggestions for indexes.

Example

IndexMergeResults suggestions = store.getDatabaseCommands().getIndexMergeSuggestions();