New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: CONF-9519
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Matt Ryall [Atlassian]
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Confluence

Allow search results to be bookmarked

Created: 20/Sep/07 12:25 AM   Updated: 13/Dec/07 04:06 PM
Component/s: Internationalisation, Searching / Indexing
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Part
 
Reference
 

Participants: Matt Ryall [Atlassian], Scott Farquhar [Atlassian] and Simon Lieschke
Since last comment: 36 weeks, 6 days ago
Labels:


 Description  « Hide
It would be great if you could bookmark the results of a search.

The obvious solution of making searches a GET request rather than a POST won't work. This is because non-ASCII characters can't be reliably included in a URL, breaking searching for many of our users.

The proper way to implement this is to store searches in Confluence with an identifier. The permalink for a search is then simply a link to repeat the saved search.

This is part of the Smart Lists feature, which incorporates other improvements to searching.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Simon Lieschke added a comment - 12/Dec/07 12:41 AM
Have a look at the redirect after POST pattern.

Matt Ryall [Atlassian] added a comment - 12/Dec/07 12:59 AM
Simon, thanks for the suggestion. We already use this pattern in many places in Confluence. The back button works on the search page in Confluence 2.7 and above without using that pattern because we removed the no-store caching header.

This request is to make the searches "bookmarkable", by giving them a permanent URL. Unfortunately, the redirect-to-GET-after-POST doesn't help us here.


Scott Farquhar [Atlassian] added a comment - 12/Dec/07 04:04 AM
I think that we should just move all URL parsing to be UTF-8, and check in the setup that this is correct. Then we can use GETs properly.

As most people use the standalone configuration, this should be setup already (in the standalone). For other application servers, we would need to provide instructions.


Simon Lieschke added a comment - 13/Dec/07 04:59 AM - edited

Simon, thanks for the suggestion. We already use this pattern in many places in Confluence. The back button works on the search page in Confluence 2.7 and above without using that pattern because we removed the no-store caching header.

Yeah, I found this issue via the blog post in question

This request is to make the searches "bookmarkable", by giving them a permanent URL. Unfortunately, the redirect-to-GET-after-POST doesn't help us here.

The Wikipedia page notes the pattern helps applications to behave more intuitively with browser bookmarks. You couldn't redirect to the permanent URL that identifies the search with an identifier? Or is the idea that you can only link to a saved smart list (possibly because you don't want to persist the search criteria for every search performed)?


Matt Ryall [Atlassian] added a comment - 13/Dec/07 04:06 PM

You couldn't redirect to the permanent URL that identifies the search with an identifier?

Unfortunately, we can't. Searches can't currently be persisted. As you suspected, implementing persistence for searches is called "smart lists", CONF-6453.

Scott's suggestion might work, but we still have several application servers which we're unable to configure to use UTF-8 URL encoding. Resin 3 on confluence.atlassian.com is a case in point.