Search the MySQL manual:

6.8.2 Fine-tuning MySQL Full-text Search

Unfortunately, full-text search has few user-tunable parameters yet, although adding some is very high on the TODO. If you have a MySQL source distribution (see section 2.3 Installing a MySQL Source Distribution), you can exert more control over full-text searching behaviour.

Note that full-text search was carefully tuned for the best searching effectiveness. Modifying the default behaviour will, in most cases, only make the search results worse. Do not alter the MySQL sources unless you know what you are doing!

The full-text variables described in the following list must be set at server startup time. You cannot modify them dynamically while the server is running.

For full-text changes that require you to rebuild your FULLTEXT indexes, the easiest way to do so for a MyISAM table is to use the following statement, which rebuilds the index file:

mysql> REPAIR TABLE tbl_name QUICK;

User Comments

Posted by Jason Buchanan on Saturday September 14 2002, @10:36am[Delete] [Edit]

#define GWS_IN_USE GWS_FREQ - I know this would be difficult to make a configurable option in my.cnf but it would be nice. GWS_PROB is not my cup of tea, unfortunately.

I have not found a reliable way to bypass the 50% threshold using boolean searches.

Posted by Jason Buchanan on Sunday September 15 2002, @8:55am[Delete] [Edit]

I just found this little nugget in the INSTALL-SOURCE
documentation...

* To use `MATCH ... AGAINST (... IN BOOLEAN
MODE)' with your tables, you need to rebuild them
with `ALTER TABLE table_name TYPE=MyISAM',
*even* if they are of `MyISAM' type.

Perhaps this should be in the fine tuning doc html...

Add your own comment.