Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2006
Posts: 144
Member
Member
Joined: Apr 2006
Posts: 144
V7.0.2
The 'Minimum Searchable Word Length' variable appears to work properly in that searching for a string less than the value set does indeed respond with: "We can not proceed, All of your search keywords were too short. Please try again."

However, regardless of the 'Minimum Searchable Word Length" setting, searching for strings of 3 or less characters will always result in "We can not proceed, There are no results for your query. Please try a broader range of search criteria." I.E., setting the minimum length variable to '2', then searching for any three character combination will deliver no results.

Is this a limitation in mySQL full text boolean search? If so, it should be noted in the CP Search screen where that minimum value is set. UBB.c 6.7x allowed these small character string searches. My users would certainly like that back. As an example, they'd like to be able to search for "Code 53" and not have the 53 thrown out as too short a string, or ignored (Which is what the current implementation is doing).


Stress the system until it breaks. Hey.. it works for Spacecraft.. why not here?

UBB since 1999: MonteCarloSS.com
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
This is a limitation of the full text searching, the smallest that it can be is 3 characters.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Well you "could" alter it but it is NOT recommended.

The default is already 4 characters and UBB has modified it to 3 characters. Modifying it even more to 2 would probably cause other issues with the software.

[mysqld]
ft_min_word_len=2

I would research this further on MySQL and Google though before making such changes.

Also if you don't have full control of the Server it runs on then you won't be able to change it, and I highly doubt your Provider will change it for you.


Last edited by ntdoc; 11/29/2006 5:15 AM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It is a limitation, and what I'm probably going to have to do is add a switch in the control panel so admins can decided whether they want to use full-text searching or the old search method which would allow for any minimum character length.

Joined: Nov 2006
Posts: 4
S
stranger
stranger
S Offline
Joined: Nov 2006
Posts: 4
Just for the record, I've had my customers and co-workers request to have the "old" search function back. Seemed to work much better overall - not just for the 3 character min. Thanks - Maggie

Joined: Nov 2006
Posts: 4
S
stranger
stranger
S Offline
Joined: Nov 2006
Posts: 4
NTdoc - I spoke with two different web hosts that said less than a 4 character limit with mysql would "destabilize" their server and cause all sorts of problems. M

Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Quote
Modifying it even more to 2 would probably cause other issues with the software.

That is sort of what I said wink

MySQL does not recommend it, but does seem to allow it.

.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)