Closed
Description
As of #15017 the fields
parameter will no longer try to retrieve fields from the _source
but will only return stored fields. This is a breaking change and there is nothing to warn the user that their response may well be different.
Instead, let's rename fields
to stored_fields
and throw an exception if the user uses fields
.
Also, add docvalue_fields
as an adjunct to fielddata_fields