private AnnotatorConfig toAnnotatorConfig(Matching matching) {
        var config = new AnnotatorConfig();
        if (matching.maxTokenLength() != null)
            config.setMaxTokenLength(matching.maxTokenLength());
        if (matching.getCase() == Case.CASED)
            config.setLowercase(false);
        return config;
    }
The implementation of exact matching

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