Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 521057
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:12:37+00:00 2026-05-13T08:12:37+00:00

I am using FULLTEXT as index in a textfield in mysql. This so that

  • 0

I am using FULLTEXT as index in a textfield in mysql. This so that I can do FULLTEXT searches later on.

The default value of a FULLTEXT nr of characters is 4.
This is changed in this line inside the my.cnf or my.ini file:

 [mysqld]
 ft_min_word_len=4

According to my webhosting company (one.com) they don’t KNOW the value, AND it’s IMPOSSIBLE to change it. I have contacted them several times, but thats what they say.

So my Q is, does any webhoster allow to change this? and if so, how?

OR, should I consider changing the FULLTEXT to something else and work around it somehow?

Thanks

UPDATE:

Check this link: http://dev.mysql.com/doc/refman/5.1/en/fulltext-fine-tuning.html

If I have a search query, and the string contains 2 letters, You cant search a FULLTEXT index with ft_min_word_len=4, because it will ignore all strings with more characters than that value…

UPDATE2

I want to be able to search whole words in a mysql table field. When I use the ‘LIKE’ statement, if I have a field value of ‘mercedes’ and if I only write ‘merc’ it will give the ‘mercedes’ field as a result… I want to only match whole words.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:12:37+00:00Added an answer on May 13, 2026 at 8:12 am

    In the specific case of your Web hoster, it looks like they simply don’t want to change the value. Maybe your MySQL instance is shared with other accounts on the same box?

    I pay roughly $60 for my own root server, which I have all to myself, and the whole dang thing is my playground; I can exchange the entire operating system if I want to. Depending on the application, though, it makes sense to go for a less expensive plan. There are various “virtual hosting” server hosting offers, where you get what looks to you like a root server but is in fact a virtual machine. You get to play with everything, even as root, but you don’t get the whole box’s resources. I can get a plan like that for about $13 a month, maybe less if I shop around.

    As for your specific requirement of reducing ft_whatzit: Please consider that this is probably a very bad idea. There’s a reason the default minimum is 4. There are many, many 2-letter words that don’t contribute any value to your full text index but contribute enormously to its size. Essentially, with the threshold set so low, your index becomes roughly as (in)efficient to search as the original text, and there goes the advantage of full text searching.

    The sensible way to do this kind of thing is: When someone asks you to find some words, use only those words ft_min_word_len in length or longer in the search, ignore the tiny words; then retrieve and scan through the full texts you get from that, and discard any that happen not to contain your tiny words. If someone’s search contains only words of 3 characters or less, tell them no, for efficiency reasons, or directly scan the full text of every text if you want to be nice and they insist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read that using fulltext searching is faster then using LIKE %%. I
I'm using the following SQL Server query, which searches a full-text index and appears
Has anyone used Lucene.NET rather than using the full text search that comes with
I'm using Thinking Sphinx for full-text search, following this video . I'd like to
Using PyObjC , you can use Python to write Cocoa applications for OS X.
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button
I have a database named products and a FULLTEXT index with the columns: title
I'm using ElasticSearch to index documents. My mapping is: mongodocid: { boost: 1.0, store:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.