Hmmm. It's not so easy to do this with ebooks viewed in a graphical ebook reader. Note he didn't say "text search". He said mining.
Does this suggest noncommercial library books will offer research capabilities that commercial ebooks will not?
I want my ebooks in ASCII format. And that certainly goes for textbooks.
less(1) is my "ebook reader".