Boost solved search results in search

AI-generated summary

The discussion revolves around boosting solved search results in Discourse. Mark_Walkom requested a setting to prioritize solved posts in search results, similar to the existing Search Priority setting for categories. sam confirmed this feature does not exist yet but acknowledged its potential utility, especially with ongoing improvements to the search engine.

Progress was made by tgxworld, who fixed a bug with solved status display in full-page search results and began exploring the requested feature. tgxworld asked Mark_Walkom for clarification on the desired outcome, considering either ranking solved posts first or applying a weight to them for higher ranking.

Mark_Walkom suggested a weighted approach with a configurable number, proposing a checkbox to enable the weight with a default value.

You can set a specific category to have higher/lower priority in search results using the Search Priority setting. I was hoping for a similar one that’d apply for solved posts, so that they’d be shown first.

I may be missing it somewhere, but if not this would be a great setting for the solved plugin :slight_smile:

6 Likes

This feature does not exist yet, but I can see it being a useful knob for the search engine.

We are working on improving search at the moment and will see if we can add something here!

3 Likes

Made some progress here but first I needed to fix a bug where a topic’s solved status is not being displayed in full page search results.

https://github.com/discourse/discourse/pull/11554

2 Likes

@Mark_Walkom I started looking into this and was wondering what would be the most useful to you. Do you want solved posts to rank first or do you want to apply a certain weight to solved posts so that they will rank higher?

There are tradeoffs to both approaches and I was wondering what is the end result you’ll like to achieve on your forum before I can properly consider both tradeoffs.

3 Likes

My though was more towards a weighted approach, as you can already filter directly on solved.

Can we potentially have a checkbox to enable the weight and a configurable weighting number, that’d default to a reasonable number (even if it’s 0)?

1 Like