_source { "includes": ["field"] } how to filter on nested fields?

I think I’ve exhausted all variants I can come up with and docs don’t mention this.

Filtering on fields only seem to match the root field, not any nested results.

Example structure:

				"_source": {
					"data": {
						"id": "211bcebc-2a8f-4a58-9560-198cb10be2e7",
						"name": "One time ",
						"classification": "Product Addon",

If I want to only return the fields name and classification, how do I do that? Only “data” works.

I’m afraid it’s not possible now. Feel free to create a feature request. It seems to make perfect sense.

Done, thanks for the reply!