1. A method comprising, by a computing device: receiving, from a client system of a first user, a text query inputted by the first user; generating a plurality of structured queries based on the text query, each structured query comprising references to one or more objects associated with the online social network; generating one or more search results corresponding to at least one of the structure queries; and sending, to the client system responsive to receiving the text query, one or more of the structured queries for display, at least one of the structured queries being displayed with a preview of one or more of the search results corresponding to the structured query.