client: Introduced merge_indexes method