private void validatePagedSetting(Field field, Attribute attribute) {
        if (!isSupportedType(attribute)) {
            fail(schema, field, "The 'paged' attribute setting is not supported for fast-rank tensor and predicate types");
        }
        if (attribute.getType() == Attribute.Type.TENSOR && attribute.hnswIndexParams().isPresent()) {
            warn(schema.getName(), field.getName(), "The 'paged' attribute setting in combination with " +
                            "HNSW indexing is strongly discouraged, see " + disavantagesUrl + " for details");
        }
    }
Validates the 'paged' attribute setting and throws if specified on unsupported types.

@author geirst
config-model/src/main/java/com/yahoo/schema/processing/PagedAttributeValidator.java