public static String convertMatchToString(PhraseMatcher.Phrase phrase) {
        StringBuilder buffer = new StringBuilder();
        for (Iterator<Item> i = phrase.itemIterator(); i.hasNext();) {
            buffer.append(i.next().toString());
            if (i.hasNext()) {
                buffer.append(" ");
            }
        }
        return buffer.toString();
    }
Convert Match to String

@param phrase Match from PhraseMatcher
@return String format of the phrase
container-search/src/main/java/com/yahoo/search/query/rewrite/RewriterFeatures.java