private static void failDataType(String schemaName, String fieldName, String dataType) throws IllegalArgumentException {
        throw new IllegalArgumentException("For schema '" + schemaName + "': Field '" + fieldName + "' of type '" + dataType + "' cannot be an attribute. " +
                "Instead specify the struct fields to be searchable as attribute");
    }
Sets whether this should be included in the "attributeprefetch" document summary.
True or false to override default, null to use default
config-model/src/main/java/com/yahoo/schema/document/Attribute.java