@Override
    public Result search(Query query, Execution execution) {
        IndexFacts.Session indexFacts = execution.context().getIndexFacts().newSession(query);
        traverse(query.getModel().getQueryTree(), indexFacts);
        traverseHighlight(query.getPresentation().getHighlight(), indexFacts);
        query.trace("Lowercasing", true, 2);
        return execution.search(query);
    }
Traverse a query tree and lowercase terms based on decision made in subclasses.

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