./bdd-admin.sh dgraph-admin merge
[merge policy]
<hostname> merges update generations in
the index.
Note: In a Dgraph cluster, this command is routed to and processed by the
leader node.
The merge policy argument is optional. If you provide one, the
script forces the merge with the specified policy. If you omit it, the script
forces the merge using the current policy. The following merge policies are
supported:
If you specify a merge policy, the script returns the following message:
[Manager] Force merge the Dgraph index using <merge policy> policy on <leader node>...Success
If you don't specify a merge policy, the script returns the following
message:
[Manager] Force merge the Dgraph index on <leader node>…Success
For more information on merges and merge policies, see
Managing an index merge policy.