filterBy

fun Search.filterBy(dataQuery: DataQuery, configComputedRuleValues: Map<String, Any>)

This extension function is used to configure DataQuery s against the Search DSL. This extension covers all queries for for the supported DataType s. Filters of the same DataType are grouped together in a query and a configured DataQuery.operation is used to determine either to use either 'AND' or 'OR' in the where clause of the Query. Optional configComputedRuleValues is provided to substitute FilterCriterionConfig.computedRule placeholders with actual values.