The patent tells us that the search engine might look at a wide range of information collected in a search log database relating to user behavior to determine what concepts or topics might be useful in deciding which advertising and other topics to show.