Are the search settings tweakable?

Announcements about the forum as well as comments, questions, ideas for the forum or the website in general.
Post Reply
scooterj
Ambassador
Posts: 6020
Joined: Sun Oct 12, 2003 1:30 pm
Location: Northmoor
Contact:

Are the search settings tweakable?

Post by scooterj »

Before I posted a new topic about 311 a few minutes ago I did a search to see if there was an existing thread I could tack my comment on to. I got the following error searching for "311". Is it possible to tweak the search settings to allow for search terms shorter than 4 characters?
The following words in your search query were ignored because they are too common words: 311.
You must specify at least one word to search for. Each word must consist of at least 4 characters and must not contain more than 84 characters excluding wildcards.
langosta
Valencia Place
Valencia Place
Posts: 1663
Joined: Mon May 27, 2019 4:02 am

Re: Are the search settings tweakable?

Post by langosta »

search rarely works for me. I get stuck on a loading screen after 2-3 queries.
bspecht
Western Auto Lofts
Western Auto Lofts
Posts: 526
Joined: Tue Jun 16, 2015 4:31 pm
Location: DC
Contact:

Re: Are the search settings tweakable?

Post by bspecht »

Bump to the initial ask here. Hard to search for addresses / acronyms when terms require 4 characters.
User avatar
bahua
Administrator
Administrator
Posts: 10931
Joined: Thu Jan 23, 2003 7:39 pm
Location: Out of Town
Contact:

Re: Are the search settings tweakable?

Post by bahua »

The minimum threshold for a search term to be indexed is four characters. Reducing that to three would dramatically increase the size of the index, but maybe we can try it. I'm in the process of migrating the forum to new hosting, and maybe in the new location I can try allowing that setting and see how it affects storage utilization and overall system resource use. The host we're moving to has much better realtime graphing anyway.
KCKev
Valencia Place
Valencia Place
Posts: 1573
Joined: Mon Apr 10, 2006 7:23 pm
Location: Tucson Arizona
Contact:

Re: Are the search settings tweakable?

Post by KCKev »

He's alive! Not a robot!
Thanks for keeping the Rag going.
If you're not on the EDGE, you're taking up TOO MUCH ROOM!
User avatar
bahua
Administrator
Administrator
Posts: 10931
Joined: Thu Jan 23, 2003 7:39 pm
Location: Out of Town
Contact:

Re: Are the search settings tweakable?

Post by bahua »

We're on new hosting now, and everything feels much faster to me. I've converted the search index from a mariadb index to a forum-native one, with a 3-character minimum set. As of the writing of this reply, it's about 36% finished being generated from roughly 650,000 posts and replies.. I'm going to bed now, and I expect it should probably be done or close to done by the time I wake up. I will investigate then.
User avatar
bahua
Administrator
Administrator
Posts: 10931
Joined: Thu Jan 23, 2003 7:39 pm
Location: Out of Town
Contact:

Re: Are the search settings tweakable?

Post by bahua »

KCKev wrote: Thu Apr 25, 2024 1:05 am He's alive! Not a robot!
Thanks for keeping the Rag going.
Thanks for your kind words. I do try.
langosta
Valencia Place
Valencia Place
Posts: 1663
Joined: Mon May 27, 2019 4:02 am

Re: Are the search settings tweakable?

Post by langosta »

Search is improved and can index 3 letters. It works!
Post Reply