August 2019
Intermediate to advanced
560 pages
13h 41m
English
Some of the request body search parameters are easy to understand and access. Descriptions of these parameters are combined in the following table:
|
Parameter |
||
|
docvalue_fields |
Description |
This parameter allows you to get the doc_value fields in the response for each hit. Please refer to the Mapping parameters section in Chapter 4, Mapping APIs, for the doc_values. |
|
Example |
"docvalue_fields": ["field_1", {"field":"field_2", "format":"format_2"},...] |
|
|
script_fields |
Description |
This parameter allows you to specify a test script to evaluate a field and show the field in each hit of the response body. |
|
Example |
"script_fields": {"test": {"script": "doc['symbol']"}} |
|
|
stored_fields |
Description ... |
Read now
Unlock full access