Search for 3-letter words is forbidden

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
m8f
 
 
Posts: 1445
Joined: Fri Dec 29, 2017 4:15 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Manjaro Linux
Location: Siberia (UTC+7)

Search for 3-letter words is forbidden

Post by m8f »

The old version of the site allowed to search for 3-letter words. The current version doesn't:
ZDF wrote:Information

The following words in your search query were ignored because they are too common words: amd bug.
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 254 characters excluding wildcards.
This is a minor issue because there is always Google search by site.
User avatar
Rachael
Posts: 13523
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Search for 3-letter words is forbidden

Post by Rachael »

I'm afraid there's not much that can be done about this - the search backend is different in this version. I'll leave this open on the off-chance Marisa happens to see this and maybe might have some idea what to do about this, but otherwise, this might be a new restriction we'll have to deal with. Which is bad, because there's a lot of 3-letter words.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49053
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Search for 3-letter words is forbidden

Post by Graf Zahl »

I haven't seen a single forum whose search function was not broken. No surprise that these people made it even worse! Are there only idiots working in this field? This nonsensical 3 letter limit has been a problem in far too many forums already, and most of the time the reason is some "intelligent" search algorithm that suffers from lack of intelligence.
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm

Re: Search for 3-letter words is forbidden

Post by randi »

The minimum word length is configurable from the Search page in the ACP. Set it to 3.

Also, I noticed the site was running slow, so I restarted PHP. Sorry if you were doing any work on the database at the time. I didn't think of that possibility until after I did it.
User avatar
Rachael
Posts: 13523
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Search for 3-letter words is forbidden

Post by Rachael »

After what happened when I first attempted to configure it, I wasn't sure it was a good idea to change it, especially on a site that was live and otherwise working fine.
User avatar
randi
Site Admin
Posts: 7746
Joined: Wed Jul 09, 2003 10:30 pm

Re: Search for 3-letter words is forbidden

Post by randi »

That was just because the text search index hadn't been built yet, so searches had to do a sequential scan over all posts. You should be fine now.

Return to “Closed Bugs [GZDoom]”