private void validatePagedAttributeRemoval(Attribute current, Attribute next) {
        if (current.isPaged() && !next.isPaged()) {
            deployState.validationOverrides().invalid(ValidationId.pagedSettingRemoval,
                              current + "' has setting 'paged' removed. " +
                              "This may cause content nodes to run out of memory as the entire attribute is loaded into memory",
                              deployState.now());
        }
    }
Validates the changes between the current and next set of attribute fields in a document database.

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