code: public Query createQuery(String statement, String language) throws InvalidQueryException, RepositoryException
     {
        sanityCheck();
        return searchMgr.createQuery(session, itemMgr, statement, language);
     }
docs: {@inheritDoc}