1. A method in a computer system for generating a search query, the method comprising: receiving a first string of characters inputted into a text input field of a graphical user interface, the first string of characters representing a first portion of the search query; displaying one or more first query suggestions within the graphical user interface, the one or more first query suggestions based at least in part on the first string of characters; receiving a selected first query suggestion from the one or more first query suggestions, and displaying the selected first query suggestion in a first query segment within the text input field; receiving a second string of characters inputted into the text input field of the graphical user interface, the second string of characters representing a second portion of the search query; displaying one or more second query suggestions within the graphical user interface, the one or more second query suggestions based at least in part on the second string of characters; and receiving a selected second query suggestion from the one or more second query suggestions, and displaying the selected second query suggestion in a second query segment that is distinct from the first query segment within the text input field, wherein the search query comprises the first query segment and the second query segment.