public void getConfig(IndexschemaConfig.Builder icB) {
        // Replace
        icB.indexfield(fields.stream().map(IndexSchema::createIndexFieldConfig).toList());
        icB.fieldset(fieldSets.values().stream().map(IndexSchema::createFieldSetConfig).toList());
    }
Deriver of indexschema config containing information of all text index fields with name and data type.

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