@Override
    public void process(boolean validate, boolean documentsOnly) {
        for (SDField field : schema.allConcreteFields()) {
            if (field.getDataType() instanceof WeightedSetDataType && ((WeightedSetDataType)field.getDataType()).isTag())
                implementTagType(field);
        }
    }
The implementation of the tag datatype

@author bratseth
config-model/src/main/java/com/yahoo/schema/processing/TagType.java