Closed as not planned
Description
#88735 adds infrastructure to support source fallback as part of the new scripting fields API. However, grabbing values from source can be quite expensive which leads to the following questions (credit to @lucabelluccini):
- Should source fallback only be allowed when search.allow_expensive_queries is enabled?
- Should we have a metric or logging to know if source fallback was used with enough information to support good debugging?
- Do we appropriately support the new type of sub-object as added by (Add support for dots in field names for metrics usecases #86166)?
Any thoughts on this @romseygeek, @jpountz, and @javanna ?