Invalid "no matching query builder log"
Only display log if we really couldn't find a query builder and not anymore in the case where we couldn't match parameterized values.
@@ -83,13 +83,13 @@ public class ConditionESQueryBuilderDispatcher {
if (contextualCondition != null) {
return queryBuilder.buildQuery(contextualCondition, context, this);
}
- }
-
+ } else {
// if no matching
logger.warn("No matching query builder. See debug log level for more information");
if (logger.isDebugEnabled()) {
logger.debug("No matching query builder for condition {} and context {}", condition, context);
}
+ }
return QueryBuilders.matchAllQuery();
}
