1. A method for performing search, the method comprising: receiving, by a hardware processor, at least a portion of browsing log of a user, the browsing log comprising at least a plurality of web pages viewed by the user; extracting one or more web page features from the browsing log, wherein the features include at least web address features of the web pages viewed by the user; generating, by the hardware processor, one or more web page classifiers based on the extracted features of the browsing log, wherein different classifiers are related to different search goals of the user, and wherein generating the one or more classifiers includes performing a pairwise classification of at least web address features of the browsing log; segmenting, by the hardware processor, the browsing log using the one or more classifiers into a plurality of separate logical browsing sessions related to different search goals of the user, wherein segmenting the browsing log includes analyzing at least one or more pairs of web pages viewed by the user and determining a probability of whether each of the web address features in each pair relate to a same or different search goal of the user; and performing, by the hardware processor, an Internet search based at least in part on a search query of the user and information about one of the logical browsing sessions.