private static void validateComplexFields(Context context, String clusterName, Schema schema, DeployLogger logger) {
        String unsupportedFields = validateComplexFields(schema);
        if (!unsupportedFields.isEmpty()) {
            context.illegal(getErrorMessage(clusterName, schema, unsupportedFields));
        }
    }
Validates that complex fields (of type struct or map) that have struct field attributes are supported.

Only applies for indexed search clusters.

@author geirst
config-model/src/main/java/com/yahoo/vespa/model/application/validation/ComplexFieldsWithStructFieldAttributesValidator.java