private static IndexschemaConfig.Fieldset.Builder createFieldSetConfig(FieldSet fieldSet) {
        var fsB = new IndexschemaConfig.Fieldset.Builder().name(fieldSet.getName());
        for (String f : fieldSet.getFieldNames()) {
            fsB.field(new IndexschemaConfig.Fieldset.Field.Builder().name(f));
        }
        return fsB;
    }
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