Find all files (type f) in the current directory and its subdirectories (maxdepth 2) and execute the command 'grep -ril 'text-to-search' {} +' on them.
find -maxdepth 2 -type f -exec grep -ril 'text-to-search' {} +