SourceField Data Type

Requests the search results to include/exclude specific fields from each result source record.

Properties
name data type constraints description
include boolean required boolean
field string   The field to include/exclude.
exclude boolean required boolean Whether to exclude this field.

Example

{
  "include" : true,
  "field" : "title",
  "exclude" : true
}