Analyzing millions of internet searches tied to major societal events offers a new way to understand public reaction to those events, according to new research.