@Override
    public boolean shouldLowercase(String commonPath, WordItem word, IndexFacts.Session indexFacts) {
        if (word.isLowercased()) return false;

        return indexFacts.getIndex(commonPath + "." + word.getIndexName()).isLowercase();
    }
Transform terms in query tree to lower case based on Vespa index settings.

@author Steinar Knutsen
container-search/src/main/java/com/yahoo/search/querytransform/VespaLowercasingSearcher.java