public void getConfig(ImportedFieldsConfig.Builder builder) {
        // Replace
        if (importedFields.isPresent()) {
            List<ImportedField> imported = new ArrayList<>();
            importedFields.get().fields().forEach( (name, field) -> considerField(imported, field));
            builder.attribute(imported.stream().map(ImportedFields::createAttributeBuilder).toList());
        }
    }
This class derives imported fields from search definition and produces imported-fields.cfg as needed by the search backend.

@author geirst
config-model/src/main/java/com/yahoo/schema/derived/ImportedFields.java