Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts

    changing the minimum number of characters in full text search

    hello,
    the default number of characters in full text search is 4.
    I would like to reduce it to 3
    I have searched some sites over the internet and read that I have to edit the my.cnf file in "/etc" folder

    I have checked the files in that folder and there is no such file.
    so I have created a file called my.cnf and placed this code in it.

    [mysqld]
    ft_min_word_len=3

    then, I have deleted the old index and created the index again.

    Now when I search again for 3 character words, it is not displaying results with those words.

    Please inform me if I have done any mistake and tell me how to correct it.

    Thank you.

  • #2
    Regular Coder
    Join Date
    Jun 2004
    Posts
    130
    Thanks
    0
    Thanked 0 Times in 0 Posts
    maybe your config file is located elsewhere?

    try:
    Code:
    find . -name my.cnf

  • #3
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Hello maghiel,
    thank you for your reply.
    I am using shared hosting.
    I don't know where to search for this file and how.
    Thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •