Buried in the tools to the left of the screen you will find a Tool called Select Tools
Click Create a new quert
Enter the details you wish to search on (ie filename or a part property) and add to list.
Double click the query name you have created and it/they will highlight
The Query as explained from Alan will be saved within your assembly and you will have in "ST5" two more parameters to search with. It could be the same in ST8 but I can not confirm it now. Here you could use / type your own Search Parameters not shown in the list!
If you would like to use this query every time you have to create it in your Template Assembly.
The second possibility shown in the picture is to click the RMB and to choose wich parameters you are looking for. This query will not be saved withing you assembly…