public void setMatchingType(MatchType type) {
        this.getMatching().setType(type);
        for (SDField structField : getStructFields()) {
            structField.setMatchingType(type);
        }
    }
Set the matching type for this field and all subfields.
config-model/src/main/java/com/yahoo/schema/document/SDField.java