Closed Bug 266461 Opened 20 years ago Closed 20 years ago

Minimum requirements for ft_min_word_len MySQL parameter should be documented

Categories

(Bugzilla :: Documentation, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: leigh_bugzilla, Assigned: shane.h.w.travis)

References

()

Details

(Whiteboard: Section 2.2.2.3)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Build Identifier: 

It may be worth highlighting that the ft_min_word_len parameter is only 
available as of MySQL 4.0.0.

The MySQL subsection in the Installation section of the documentation states:
"You need MySQL version 3.23.41 or higher.", impying it will work with this 
version of mysql.

(P.S. I originally appended this comment to bug 218206, but was unable to re-
open it.)

Reproducible: Always
Steps to Reproduce:
1. In /etc/my.cnf, specify:
   ft_min_word_len = 3
2. When attempting to restart MySQL (version <4), you will get an error, and 
mysql will not start.


Actual Results:  
This feature is not supported until mysql v4.
Contents of /var/log/mysqld.log:

start of extract -->
041028 14:52:31  mysqld started
/usr/libexec/mysqld: unrecognized option `--ft_min_word_len=3'
/usr/libexec/mysqld  Ver 3.23.58 for redhat-linux-gnu on i386
Copyright (C) 2000 MySQL AB, by Monty and others
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Starts the MySQL server

Usage: /usr/libexec/mysqld [OPTIONS]
...
...
<-- end of extract

Expected Results:  
Whilst the documentation does for this feature (Allow small words in full-text 
indexes) *does* point the user towards the page 
http://www.mysql.com/doc/en/Fulltext_Fine-tuning.html, it is not immediately 
obvious what has gone wrong.

Granted it is in the relevant log files, but a little note stating that this 
isn't supported below v4 of mysql could be useful, and may save some time.
Adding relationship to previous bug - 218206
Blocks: 218206
This can't block 218206 because it's already resolved.  Making it depend instead. :)
No longer blocks: 218206
Depends on: 218206
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: Section 2.2.2.3
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 164224 [details] [diff] [review]
documentation patch for 2.18 and tip

Add a warning to documentation for 2.18 and tip that you need to have MySQL v4
or better to use this feature.
Attachment #164224 - Attachment description: Add a warning to documentation for 2.18 and tip that you need to have MySQL v4 or better to use this feature. → documentation patch for 2.18 and tip
Attachment #164224 - Flags: review?(documentation)
Comment on attachment 164224 [details] [diff] [review]
documentation patch for 2.18 and tip

We should use the <note> Docbook tag, see
http://developers.cogentrts.com/cogent/prepdoc/pd-admonitions.html for details.
Attachment #164224 - Flags: review?(documentation) → review-
Assignee: documentation → travis
Attached patch v2Splinter Review
Attachment #164224 - Attachment is obsolete: true
Checking in docs/xml/installation.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/xml/installation.xml,v  <-- 
installation.xml
new revision: 1.78; previous revision: 1.77
done

Checking in docs/xml/installation.xml;
/cvsroot/mozilla/webtools/bugzilla/docs/xml/installation.xml,v  <-- 
installation.xml
new revision: 1.72.2.6; previous revision: 1.72.2.5
done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: