elasticsearch-java
elasticsearch-java copied to clipboard
IndicesOptions for all requests
Description
Hello,
in previous version [<8.x] it was possible to create GetIndexRequest with IndicesOptions. The new co.elastic.clients.elasticsearch.indices.GetIndexRequest doesn't contain these options and it's always needed to add them through builder. Would it be possible to add IndicesOptions as builder field? It's used for example in SearchInputRequestDefinition.
Benefit: it will be easier to provide default config for multiple requests.