Commit cd42be3b authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

manual.texi Tim's suggestion added

parent 185c2bea
...@@ -21530,8 +21530,8 @@ very little resources. ...@@ -21530,8 +21530,8 @@ very little resources.
@item @code{ft_min_word_len} @item @code{ft_min_word_len}
The minimum length of the word to be included in a @code{FULLTEXT} index. The minimum length of the word to be included in a @code{FULLTEXT} index.
@strong{Note: @code{FULLTEXT} index have to be rebuilt after changing @strong{Note: @code{FULLTEXT} index have to be rebuilt (e.g. with
this variable.} @code{OPTIMIZE TABLE}) after changing this variable.}
@item @code{ft_max_word_len} @item @code{ft_max_word_len}
The maximum length of the word to be included in a @code{FULLTEXT} index. The maximum length of the word to be included in a @code{FULLTEXT} index.
...@@ -21541,7 +21541,7 @@ this variable.} ...@@ -21541,7 +21541,7 @@ this variable.}
@item @code{ft_max_word_len_sort} @item @code{ft_max_word_len_sort}
The maximum length of the word in a @code{FULLTEXT} index The maximum length of the word in a @code{FULLTEXT} index
to be used in fast index recreation method in to be used in fast index recreation method in
@code{REPAIR}, @code{CREATE INDEX}, or @code{REPAIR}, @code{CREATE INDEX}, @code{OPTIMIZE TABLE}, or
@code{ALTER TABLE}. Longer words are inserted the slow way. @code{ALTER TABLE}. Longer words are inserted the slow way.
The rule of the thumb is as follows: with @code{ft_max_word_len_sort} The rule of the thumb is as follows: with @code{ft_max_word_len_sort}
increasing, @strong{MySQL} will create bigger temporary files increasing, @strong{MySQL} will create bigger temporary files
...@@ -21550,8 +21550,8 @@ fewer keys in one sort block (againg, decreasing the efficiency). ...@@ -21550,8 +21550,8 @@ fewer keys in one sort block (againg, decreasing the efficiency).
When @code{ft_max_word_len_sort} is too small, instead, When @code{ft_max_word_len_sort} is too small, instead,
@strong{MySQL} will insert a lot of words into index the slow way - @strong{MySQL} will insert a lot of words into index the slow way -
but short words will be inserted very fast. It applies only to but short words will be inserted very fast. It applies only to
Index recreation during @code{REPAIR}, @code{CREATE INDEX}, or index recreation during @code{REPAIR}, @code{CREATE INDEX},
@code{ALTER TABLE}. @code{OPTIMIZE TABLE}, or @code{ALTER TABLE}.
@item @code{have_bdb} @item @code{have_bdb}
@code{YES} if @code{mysqld} supports Berkeley DB tables. @code{DISABLED} @code{YES} if @code{mysqld} supports Berkeley DB tables. @code{DISABLED}
...@@ -28310,7 +28310,7 @@ unless you know what you are doing! ...@@ -28310,7 +28310,7 @@ unless you know what you are doing!
Minimal length of word to be indexed is defined by @strong{MySQL} Minimal length of word to be indexed is defined by @strong{MySQL}
variable @code{ft_min_word_length}. @xref{SHOW VARIABLES}. variable @code{ft_min_word_length}. @xref{SHOW VARIABLES}.
Change it to the value you prefer, and rebuild Change it to the value you prefer, and rebuild
your @code{FULLTEXT} indexes. your @code{FULLTEXT} indexes (e.g. with @code{OPTIMIZE TABLE}).
@item @item
The stopword list is defined in @code{myisam/ft_static.c} The stopword list is defined in @code{myisam/ft_static.c}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment