October 2019
Beginner
186 pages
5h 39m
English
This field returns the doc value representation of a field for each hit. They are applied to fields that have doc values, regardless of whether they are stored:
GET /_search{ "query": { "match_all": {} }, "docvalue_fields": [ { "field": "*_date_field", -- matched all fields that end with field "format": "epoch_millis" -- the format to be applied to the fields } ]}
Date fields and numeric fields are some of the only fields that accept custom formats.
Read now
Unlock full access