Menu path: Structure Tree > Search History

Here, all search queries are saved as individual objects and can be edited further via the context menu.