elastic / elasticsearch

Free and Open Source, Distributed, RESTful Search Engine
https://www.elastic.co/products/elasticsearch
Other
1.12k stars 24.83k forks source link

ESQL: Disabling _source makes for inconsistent results #105242

Open nik9000 opened 9 months ago

nik9000 commented 9 months ago

Description

If you disable _source and attempt to fetch text field without any sub-fields or parent fields we'll return null for it without a warning. But if _source is synthetic and you do that you get null and a warning. I believe we want this warning behavior across the board.

elasticsearchmachine commented 9 months ago

Pinging @elastic/es-analytical-engine (Team:Analytics)