Is it possible to have the default search order be order:latest, either as a user preference or globally on an instance of Discourse?
AI-generated summary
The discussion revolves around changing the default âsort byâ setting for search in Discourse. john_mardlin initially requests the option to set order:latest as the default search order, either as a user preference or globally. sam responds that this is not currently possible but suggests adding a site setting for it. codinghorror prefers weighting recent stuff more instead of making order:latest the default. However, alehandrof and john_mardlin argue that order:latest would be beneficial for their specific use cases, where they have many topics with the same keywords.
codinghorror reveals a one-character shortcut âlâ to order search results by latest. alehandrof appreciates the shortcut but still requests the option to change the default behavior for their users. codinghorror suggests fixing the root cause of the issue by having more uniquely named topics. However, alehandrof explains that they are a private community and donât care about SEO, and their topics have repeating events with the same title.
sam proposes adding a site setting to allow picking the default site sort order, which codinghorror agrees with, but they are not keen on making it a per-user setting yet.
Sorry for the delay⊠no this is not possible, but I could add a site setting for it.
I also usually prefer order:latest as a default for stuff I am searching for. Cause I like to use search to recall a topic I recently looked at.
Another option could be to give significantly more weight to recent stuff while leaving it as a âsmart searchâ But⊠to be honest ⊠maybe order:latest is simply a better default⊠@codinghorror?
I favor weighting recent stuff a bit more, personally. order:latest as a default would be awfully strong.
It would be nice to have a simpler search shortcut for order:latest even a single character, as that is a lot to type plus a colon.
Both my users and myself find having to use the âlatest postâ to find what we need. We are probably a niche case because we have a lot of topics with the same keywords, so searching often good-naturedly surfaces old, but seemingly relevant topics. Iâd appreciate the option to make âlatestâ the system default. It would help us a lot. Iâm not suggesting it should be the default in general ![]()
There is already a one character shortcut to order by latest; just add âlâ to your search and it will be ordered latest. So instead of searching for
hotdogs
search for
hotdogs l
I wasnât aware of that shortcut. Thatâs helpful for me, though I already have an Alfred search that does what I need.
For my users though, it would be better to change the default behavior of the forum. Itâs been requested a lot of times, and Iâve seen users use the forum over screen sharing as they try to find some piece of information tucked away in a post.
Again, Iâm not suggesting this is a good practice for most forums, but because we have a lot of similarly named topics, it would help with retrieval.
Google and other webcrawlers will struggle with this as well, I strongly suggest you should fix the root cause here and have more uniquely named topics.
We are a private community and donât care about SEO. The root cause is have repeating events with the same title. For example, we have a lot of topics like this: âXYZ (October 2018â).
I understand that weâre a niche case. But it would be helpful to have the option for just such niche cases.
I think adding a site setting that allows you to pick default site sort order would be useful in some cases:
I agree with @codinghorror 100% that our default of âRelevanceâ is correct, but can see cases where there is a very strong preference for latest (either post or topic).
I am not keen on making this a strong per user setting quite yet though. @codinghorror should we slot adding this site setting, or wait on this for a bit?
Fechado para focar a discussĂŁo em Add site setting to default search results sort by latest post instead of relevance
