You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want filter by array of values. For example record have "categories" field, and I want aggregate only by specific categories, not all categories.
I can make regular expression like "category1id|category2id" and use "include", or use "script" for this, but seems best performance will be reached by intersecting array.
The text was updated successfully, but these errors were encountered:
ewgRa
changed the title
:Aggs Terms aggregation: add include_values
Terms aggregation: add include_values
Feb 18, 2015
There is "include" in terms aggregation.
I want filter by array of values. For example record have "categories" field, and I want aggregate only by specific categories, not all categories.
I can make regular expression like "category1id|category2id" and use "include", or use "script" for this, but seems best performance will be reached by intersecting array.
The text was updated successfully, but these errors were encountered: