Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Suggestion] Forum Search Results by Topic/Thread

Code of conduct, suggestions, and information on forums.debian.net.
Post Reply
Message
Author
User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

[Suggestion] Forum Search Results by Topic/Thread

#1 Post by limotux »

If I do a search in the forum, I get the search results showing single posts containing the search term, so this is sort of redundancy, as well, it does not easily retrieve the topics/threads.

I wish to see that if I made a search for a specific expression I get only the first post or the most relevant post in a specific thread, then the next in another thread and so on.

This way, instead of seeing on the search results (say 20 posts, with 5 from a specific thread - so thread is repeated) I think it would be better to show only one post from a thread, then another post from another thread.

This way the user would be seeing more topics/threads containing the answer to his search.
For example compare this https://forum.endeavouros.com/search?q=file%20indexing to this search.php?keywords=file+indexing and both for the search expression "file indexing"

I am not interfering with the work you are doing guys, it is just a suggestion I think it can make search results better.
I do not know if it can be configured this way with the same forum software or it requires another software.
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#2 Post by sunrat »

I think our admins have looked into the search function and determined there are limitations of the phpBB software. EndeavourOS appears to be using Discourse.
Search can be improved by using a search engine with
<search-term> site:forums.debian.net
eg: https://www.startpage.com/do/dsearch?qu ... sion=1.3.0
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#3 Post by limotux »

sunrat wrote: 2023-09-12 05:13 I think our admins have looked into the search function and determined there are limitations of the phpBB software. EndeavourOS appears to be using Discourse.
Search can be improved by using a search engine with
<search-term> site:forums.debian.net
eg: https://www.startpage.com/do/dsearch?qu ... sion=1.3.0
Thank you @sunrat
I will try your suggestion.
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#4 Post by limotux »

UPDATE:
I tried several searches and it is amazing.
That's exactly what I am looking for.

I am no techie, but I know a little. I wonder can the search bar on the forum be done using StartPage the same way you @sunrat gave me the link? Better if the search open the results in a new tab.
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#5 Post by sunrat »

limotux wrote: 2023-09-12 16:13 UPDATE:
I tried several searches and it is amazing.
That's exactly what I am looking for.
Great!
I am no techie, but I know a little. I wonder can the search bar on the forum be done using StartPage the same way you @sunrat gave me the link? Better if the search open the results in a new tab.
I just had another look at the forum search option settings. That's not possible in the forum software.

I use a Firefox extension called Context Search which allows searching of various websites by highlighting a search term and right-clicking to select the site to search. The search term is editable in Settings. Maybe you could create a custom search in that. For terms that don't appear on a page, you can enter them in the normal search text box, highlight and context search them from there.
Edit:- just tried it, couldn't work it out with a short test. Maybe Tampermonkey could help?
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#6 Post by limotux »

sunrat wrote: 2023-09-12 21:49 .......

I just had another look at the forum search option settings. That's not possible in the forum software.

Thanks @sunrat for feedback.
So, I would do the search using "site:" then.... though I wish to see our forum here as best as possible.
Thank you
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1418
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 80 times
Been thanked: 191 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#7 Post by steve_v »

sunrat wrote: 2023-09-12 05:13I think our admins have looked into the search function and determined there are limitations of the phpBB software. EndeavourOS appears to be using Discourse.
Please, never "upgrade" this board to discourse. Don't even contemplate it, it's horrific. I'll take phpBB search limitations over that JS infested garbage fire UX any day.

To address the OP, does not changing "Display results as" from "Posts" to "Topics" on the advanced search page already do pretty much this?
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

User avatar
sunrat
Administrator
Administrator
Posts: 6511
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 119 times
Been thanked: 489 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#8 Post by sunrat »

steve_v wrote: 2023-09-13 06:18
sunrat wrote: 2023-09-12 05:13I think our admins have looked into the search function and determined there are limitations of the phpBB software. EndeavourOS appears to be using Discourse.
Please, never "upgrade" this board to discourse. Don't even contemplate it, it's horrific. I'll take phpBB search limitations over that JS infested garbage fire UX any day.
I think you're pretty safe with that.
To address the OP, does not changing "Display results as" from "Posts" to "Topics" on the advanced search page already do pretty much this?
Aaah, forgot about that, the perfect solution. Thanks @steve_v ! 8)
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#9 Post by limotux »

To address the OP, does not changing "Display results as" from "Posts" to "Topics" on the advanced search page already do pretty much this?
Thank you @steve_v
I tried modifying the settings and it works as intended.
But settings are not saved so when I just search in the search box it searches with default.
Anyway perhaps to save the settings for me?
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1418
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 80 times
Been thanked: 191 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#10 Post by steve_v »

limotux wrote: 2023-09-13 08:19Anyway perhaps to save the settings for me?
Not as far as I am aware. Then again it's just a variable in the search URI, so it should be fairly trivial to add as a custom search engine in your browser or something to that effect.
TBH I've never understood why phpBB hides that away in advanced search to begin with, but that's how it's always been. vOv
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

User avatar
limotux
Posts: 164
Joined: 2011-05-30 17:38
Has thanked: 37 times
Been thanked: 12 times

Re: [Suggestion] Forum Search Results by Topic/Thread

#11 Post by limotux »

so it should be fairly trivial to add as a custom search engine
Thank you @steve_v
I will already have bokkmarked https://www.qwant.com/?l=en&q=site%3Afo ... xing&t=web
Debian 12 (bookworm), KDE Plasma, quad core Intel Core i7-8550U
Drives: 238.47 GiB SSD
Memory: 7690.7 MiB
(Installed 24/8/2023) (no techie)

Post Reply