Recursive search engine