elasticsearch-java icon indicating copy to clipboard operation
elasticsearch-java copied to clipboard

IndicesOptions for all requests

Open bilak opened this issue 2 years ago • 0 comments

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.

bilak avatar Jun 22 '23 14:06 bilak