private Result handleError(RuleBase ruleBase,Query query,String error) {
        String message = "Evaluation of query '" + query.getModel().getQueryTree() +
                         "' over '" + ruleBase + "' caused the invalid query '" +
                         query.getModel().getQueryTree().getRoot() + "': " + error;
        getLogger().warning(message);
        return new Result(query, ErrorMessage.createInvalidQueryTransformation(message));
    }
Creates a semantic searcher using the given default rule base
container-search/src/main/java/com/yahoo/prelude/semantics/SemanticSearcher.java