Group other values doesn't work for scripted fields #48570
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
Feature:Scripted Fields
Scripted fields features
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Describe the bug:
The "group other values in a separate bucket" option doesn't work for scripted fields.
Steps to reproduce:
Expected behavior:
The other bucket would work, even with scripted fields.
Screenshots (if relevant):
Any additional context:
In looking at the query generated for the "other bucket", it adds an
exists
query on the scripted field. Of course, since the scripted field itself doesn't exist in the index, this will filter out all of the hits. I'm not sure if that exists query is necessary for regular fields, but we need to remove it for scripted fields:The text was updated successfully, but these errors were encountered: