Support merge policy settings like index.merge.policy.max_merged_segment
Closed this issue · 2 comments
onyxmaster commented
Hi!
Previous version of the driver supported merge policy descriptors, including index.merge.policy.max_merged_segment. Nowadays, the only merge parameters that are supported are minimum/maximum segments for scheduler, forcing the merging policy to be customized by an external tool, after the index creation. This looks like an oversight to me, especially since kNN documentation explicitly recommends tuning this parameter for large indices.
Thank you.
flobernd commented
Hi @onyxmaster ,
we currently do not model every index setting explicitly, but it's still possible to set a value for `` like this:
await client.Indices.CreateAsync("people", x => x
.Settings(x => x.OtherSettings(new Dictionary<string, object>
{
{ "index.merge.policy.max_merged_segment", 12345 }
}))
);Please let me know, if that solves your issue.
onyxmaster commented
This looks like a solution, thank you!