Patent attributes
Methods and computer program products for generating a search query are provided. A method includes receiving a first string of characters inputted into a text input field of a graphical user interface, wherein the first string of characters represents a first portion of the search query. One or more query suggestions based on the first string of characters are displayed within the graphical user interface. The method further includes receiving a selected first query suggestion and displaying it in a first query segment within the text input field. A second string of characters inputted into the text input field of the graphical user interface may also be received. One or more second query suggestions based on the second string of characters may be displayed. A selected second query suggestion may be received from the one or more second query suggestions and then displayed in a second query segment.