@Override
    public String toString() {
        return type + " matching [" + (type == MatchType.GRAM ? "gram size " + gramSize.orElse(NGramMatch.DEFAULT_GRAM_SIZE) : "supports " + algorithm) +
               "], [exact-terminator " + exactMatchTerminator + "]";
    }
Sets the terminator string which terminates an exact matched
sequence in queries (used if type is EXACT).
config-model/src/main/java/com/yahoo/schema/document/Matching.java