[SOLVED]Forum search function should ignore signatures

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Sat May 27, 2023 13:53    Post subject: [SOLVED]Forum search function should ignore signatures Reply with quote
Is it easy to modify the Search function of DD-WRT's forum to ignore signatures?

Some users list their routers in the signature line, thus adding un-necesasry search results for users who want real information about the router they wanna install DD-WRT into.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw


Last edited by mwchang on Tue Jun 13, 2023 13:49; edited 1 time in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat May 27, 2023 14:16    Post subject: Reply with quote
The first obstacle to tackle would be to re-index the database (essentially delete / rebuild the search index) and compact the database. This forum has a bunch of dead weight because of all of the deleted topics / posts over the past 10 years alone which makes the database larger than it needs to be. I don't rightly remember what you can include / exclude on this version, if anything at all, in the search function.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Sat May 27, 2023 14:56    Post subject: Reply with quote
kernel-panic69 wrote:
The first obstacle to tackle would be to re-index the database (essentially delete / rebuild the search index) and compact the database. This forum has a bunch of dead weight because of all of the deleted topics / posts over the past 10 years alone which makes the database larger than it needs to be. I don't rightly remember what you can include / exclude on this version, if anything at all, in the search function.

How about creating a Github respository for DD-WRT's forum? Interested users can help reading the source codes, and suggest patches. Wink

Theoretically, we don't need to clean up the database to make the search function ignoring signatures. We only need to confirm whether the search function is reading signatures. We know that the signatures are stored separately from the message bodies.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Thu Jun 08, 2023 9:37    Post subject: Reply with quote
Searched for farces and found only two posts instead of all your posts with farces in signature so maybe it is fixed.
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1855
Location: Hung Hom, Hong Kong

PostPosted: Thu Jun 08, 2023 11:59    Post subject: Reply with quote
blkt wrote:
Searched for farces and found only two posts instead of all your posts with farces in signature so maybe it is fixed.

It's not exactly a bug that needs a fix because some tasks may need to search signatures. An option in the Search dialogue might be helpful. But in general, the information in signatures are not that useful.

Thank you all for patching it! Hope this could help others.

Searching for "RT-N18U" brings back memory.... Smile

BTW, do a search for "RT-N18", without the last "U"! Puzzling...

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum