private void addFieldToCollection(String fieldName, String collectionName) {
        FieldCollection collection = getCollection(collectionName);
        collection.fields.add(fieldName);
    }
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