add max_docs_per_index and max_number_of_indices