Open
Description
There are methods in ElasticsearchClient
that look like not very useful.
They do not take any parameter, therefore using the builder internally without setting any value. When called, they raise an IllegalStateException
.
Examples
- public BulkResponse bulk()
- public MtermvectorsResponse mtermvectors()
- public FieldCapsResponse fieldCaps()
- public ReindexResponse reindex()
- public RenderSearchTemplateResponse renderSearchTemplate()
Looking at the API documentation, there is a least some mandatory parameter.
Is this maybe the result of generating the client based on the API specification and they should better be removed?