Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


DynamicAgg

PropertyDescriptionDefaultTypeRequired
typeAggregation type
stringYes
fieldName of the field from which the values will be aggregated
stringYes
negatedNegates the filterfalsebooleanNo
mustIndicates if the filter must be enforced alongside other filters, or if it can be omitted if it doesn't match (acts as a should)truebooleanNo
post_searchIs filter multiselect? Warning: for multiselect filter, the process is done post searchfalsebooleanNo
idName for which to identify the aggregation done
string (pattern: \w)Yes
or_selectionIndicates the behavior between 2 selections of the same aggregation. If true, selections will be treated as "or" (e.g., A or B). If false, they will be treated as "and" (e.g., A and B)truebooleanNo
ui_onlySection dedicated for UI transformation options only. Not required for regular aggregation process
objectNo
aggsNested Aggregations. Define a list of nested aggregations
arrayNo
Info

The type property should be one of the following values: "term", "bool", "date_histogram", "histogram", "browse", "date_range", "range", "slider", "top_hits", or "filter".