@Override
    public void process(boolean validate, boolean documentsOnly) {
        if ( ! validate) return;

        Map<String, MatchType> types = new HashMap<>();
        for (SDField field : schema.allConcreteFields()) {
            new MyVisitor(schema, field, types).visit(field.getIndexingScript());
        }
    }
Warn on inconsistent match settings for any index

@author vegardh
config-model/src/main/java/com/yahoo/schema/processing/MatchConsistency.java