Adding Saved Queries to a Display
About this task
Saved queries are a way for users to store a query for future use without having to remember or retype the query. This functionality is similar to bookmarking a page of search results, but since it is a feature within the application rather than the browser, it allows users to easily share their saved queries with others.
Saved queries work closely with folders annotations, so it is required that you have at least one set of folders in your application before you can add saved queries. In particular, the saved query functionality makes use of the same ICS collection that is used for folders. The Adding Folders to a Display explains how to set up an ICS collection and add a folder set to your display.
After you have added a folder set
- Return to the Settings tab of your display (for this tutorial, collab-tutorial-display.
- Select the Collaboration > Folders subsection.
- Click edit in the upper right corner
- Change the Query Saving enabled? setting to true.
- Click OK to save your changes.
Do a search in your application and check to see that a Save Query button
appears in the upper right next to the Actions menu.
See the section on Using a Collaborative Search Application for more information about how the end user display works.
If you would like to change the text on the Save Query button in the end-user display
- Open your display to the Settings tab
Select the Results > Actions subsection.
You can edit the Actions menu: Save Query text setting to change the text for the button.
Proceed to Using a Collaborative Search Application.