-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancementTeam:SearchMeta label for search teamMeta label for search team
Description
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:
- Users would no longer need to remember to load
_sizefromdocvalue_fields(Document using docvalue_fields to retrieve_sizefield from mapper size plugin #57103). - We recently started allowing some metadata fields to pull values from _source, like
_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?
Metadata
Metadata
Assignees
Labels
:Search/SearchSearch-related issues that do not fall into other categoriesSearch-related issues that do not fall into other categories>enhancementTeam:SearchMeta label for search teamMeta label for search team