In one embodiment, a method includes receiving one or more characters of a search query inputted by a user into a text-entry box, compiling, responsive to the received characters of the search query, a first set of search results from information stored on the client device, providing for display to the user a list of the first set of search results, determining whether the user has inputted one or more additional characters such that a number of the characters of the search query is greater than a threshold number of characters, compiling a second set of search results from information retrieved from remote servers if it is determined that the number of characters of the search query is greater than the threshold number of characters, and providing for display to the user the second set of search results in addition to the first set of search results already displayed.
展开▼