Better searching by solved status

AI-generated summary

The discussion revolves around improving search functionality for solved topics in Discourse. Mark_Walkom initiates the conversation after a user expressed frustration with the current inability to easily find solved issues. Currently, users must manually enter status:solved in the search bar, which is not intuitive. Suggestions include adding a ‘Solved’ option in the ‘Where topics’ dropdown or as a checkbox in the ‘Only return topics/posts…’ section. sam points out that the existing in:solved query should be renamed to status:solved to better reflect its purpose, aligning it with other status-based filters like ‘archived’ and ‘closed’. jomaxro agrees that the option should be placed in the ‘Only return topics/posts…’ dropdown since it’s an in query. vinothkannans confirms the change has been implemented via a GitHub commit, and Mark_Walkom thanks the team for the update.

I had a twitter conversation with a user of ours who was frustrated with us auto-closing topics (without solutions) and the inability to easily find solved issues that related to their issue.

In the Advanced Search area, there’s no explicit way to search by solved, you need to manually add status:solved in the search bar. Which has me wondering if there might be some ways we could better return solved results, perhaps by having;

  • a sort by solved option, per the users suggestion
  • an explicit Solved status in the Where topics drop down or in Only return topics/posts... as a checkbox

There’s probably other ideas, but I wanted to start a discussion.

8 Likes

I like the idea of the “Where topics” having an option for “are solved”. :slight_smile:

5 Likes

We have in: solved

https://meta.discourse.org/search?q=in%3Asolved%20button

We certainly should have the solved plugin inject into here and add a “are solved” option.

@vinothkannans can you make this happen?

6 Likes

Given that the search query is in not status, shouldn’t this go in the “Only return topics/posts…” drop down, not the “where topics”? That’s where all the other in queries are.

4 Likes

I think we messed up here a bit in the terminology of the search operator.

We should

  1. Rename it so it is status:solved not in:solved
  2. Then amend the UX to match.

“solved” is far more akin “archived” “closed” and so on as status. in:solved feels like it is in stuff that I solved, which is not our intent at all.

So, very very slight scope creep here. Rename in:solved to status:solved

11 Likes

This is great addition. Thank you!

3 Likes

https://github.com/discourse/discourse-solved/commit/f4aea44db8e1a0af3140a7391c0c65cca49a7e8f

It’s done as per the above commit.

8 Likes

Awesome, thank’s y’all :smiley:

6 Likes