Open nwoike opened 2 months ago
The max_slices_per_pit index setting is completely missing from the index settings operations.
max_slices_per_pit
There should be an API similar to those for available for max_slices_per_scroll.
max_slices_per_scroll
I am able to configure this setting using the JavaScript client but that is not an option for this use-case.
APIs should look something like the following from client perspective.
val response = indices().getSettings( GetIndicesSettingsRequest .of { r -> r.index(index) } ) response.result()[index]?.settings()?.maxSlicesPerPit() indices().putSettings( PutIndicesSettingsRequest .of { p -> p.index(index).settings { s -> s.maxSlicesPerPit(maxSliceCount) } } )
Thanks. FYI we're also working on generating this code from spec in #366, appreciate if you could contribute the missing setting(s) to https://github.com/opensearch-project/opensearch-api-specification.
Is your feature request related to a problem?
The
max_slices_per_pit
index setting is completely missing from the index settings operations.What solution would you like?
There should be an API similar to those for available for
max_slices_per_scroll
.What alternatives have you considered?
I am able to configure this setting using the JavaScript client but that is not an option for this use-case.
Do you have any additional context?
APIs should look something like the following from client perspective.