@Override
    public Result search(Query query, Execution execution) {
        List<PhraseMatcher.Phrase> phrases = phraseMatcher.matchPhrases(query.getModel().getQueryTree().getRoot());
        if (phrases != null && !query.properties().getBoolean(suggestonly, false)) {
            remove(phrases);
            query.trace("Removing stop words",true,2);
        }
        return execution.search(query);
    }
Creates a nonphrasing searcher

@param  phraseAutomatonFile the file containing phrases which should be removed
@throws IllegalStateException if the automata component is unavailable
        in the current environment
@throws IllegalArgumentException if the file is not found
container-search/src/main/java/com/yahoo/prelude/querytransform/NonPhrasingSearcher.java