private static void warnStreamingIndexField(String cluster, Schema schema, ImmutableSDField sd, DeployLogger logger) {
        if (sd.getDataType() == DataType.URI) {
            logWarning(cluster, schema, sd, logger,
                    "field type uri is not supported for streaming search, it will be handled as a string field");

        }
    }
Warn if one or more attributes are defined in a streaming search cluster SD.
config-model/src/main/java/com/yahoo/vespa/model/application/validation/StreamingValidator.java