protected void derive(Schema schema) {
        setName(schema.getName());
        derive(schema.getDocument(), schema);
        for (Index index : schema.getExplicitIndices())
            derive(index, schema);
        for (SDField field : schema.allExtraFields())
            derive(field, schema);
        schema.allImportedFields().forEach(importedField -> derive(importedField, schema));
    }
Derives the content of this configuration. This
default calls derive(Document) for each document
and derive(SDField) for each search definition level field
AND sets the name of this to the name of the input search definition
config-model/src/main/java/com/yahoo/schema/derived/Derived.java