class LuceneSearchUtil {

    public static List<String> analyseForSearch(final String lang, final String phrase) {
        final Analysis analysis = LANGUAGE_SPECIFIC.getOrDefault(lang, LANGUAGE_SPECIFIC.get("default"));
        return analysis.analyse(phrase);
    }

}