Currently the search 'fields' option skips over metadata fields. It would be great to add support for them, to help make 'fields' the central place to retrieve document content.
Some specific improvements:
An open question: should only return metadata fields if they're explicitly requested, or allow wildcard patterns like * to match them?
Currently the search 'fields' option skips over metadata fields. It would be great to add support for them, to help make 'fields' the central place to retrieve document content.
Some specific improvements:
_sizefromdocvalue_fields(Document using docvalue_fields to retrieve_sizefield from mapper size plugin #57103)._doc_count(Add doc_count field mapper #58339). The 'fields' option should retrieve these like any other field value.An open question: should only return metadata fields if they're explicitly requested, or allow wildcard patterns like
*to match them?