You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Filter Stage will generate the engine specific filters based on the configuration provided, specifically with the list of DynamicFilter in the aggs configuration parameter, and store them in the intermediate under the stage name.

Additionally, this stage can also generate the filters from the selected aggregations, which will look in the key aggs in the intermediate dictionary in the process function, the generated filters will be stored in the intermediate under the name provided in  filters_name

PropertyDescriptionDefaultTypeRequired
filtersFilters to be applied within this stage-array of DynamicFilterYes (minItems: 1)
typeStage class name-stringYes (but only while working with the JSON Format)
enableEnable stage for executiontruebooleanNo
nameName for this specific stage. Used in the intermediate and final parameters"filters"stringNo
save_to_intermediateIf true, the result of the stage will be stored in the intermediate instead of the final section. This makes the response of the stage unavailable for the final resultfalsebooleanNo
expand_resultIndicates if the result of this stage should be expanded into the final data dictionary instead of being appended as usualfalsebooleanNo
ui_onlySection specific for UI configuration. This configuration will be retrieved when necessary and should affect the process of the stageobjectNo
halt_on_exceptionIndicates if the pipeline should be interrupted in case of an exceptionfalsebooleanNo
engine_nameName of the engine to use for this query. If none is provided, the default engine will be usedstringNo
add_user_filterIf enabled, the stage will add a filter using the credentials in the request, using the user_value and user_filter_fieldfalsebooleanNo
user_valueField in the request's credentials to be used as the filter value-stringNo
user_filter_fieldField in which the user_value must appear for the filterstringNo
filter_keysList of keys where filters are stored for compilation into a single filter entry[]array of stringsNo
  • No labels