<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AShort_words_in_searches</id>
	<title>Help:Short words in searches - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.lensovet.net/~sysadmin/w/index.php?action=history&amp;feed=atom&amp;title=Help%3AShort_words_in_searches"/>
	<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Short_words_in_searches&amp;action=history"/>
	<updated>2026-05-04T02:03:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.16</generator>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Short_words_in_searches&amp;diff=1844&amp;oldid=prev</id>
		<title>Wadmin: 1 revision(s)</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Short_words_in_searches&amp;diff=1844&amp;oldid=prev"/>
		<updated>2006-07-19T05:34:41Z</updated>

		<summary type="html">&lt;p&gt;1 revision(s)&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 05:34, 19 July 2006&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Wadmin</name></author>
		
	</entry>
	<entry>
		<id>http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Short_words_in_searches&amp;diff=1843&amp;oldid=prev</id>
		<title>65.122.123.130: /* Changing minimum and maximum word lengths in MySQL */</title>
		<link rel="alternate" type="text/html" href="http://www.lensovet.net/~sysadmin/w/index.php?title=Help:Short_words_in_searches&amp;diff=1843&amp;oldid=prev"/>
		<updated>2006-02-07T22:57:24Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Changing minimum and maximum word lengths in MySQL&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Changing minimum and maximum word lengths in MySQL ==&lt;br /&gt;
From MySQL's docs on [http://dev.mysql.com/doc/mysql/en/fulltext-fine-tuning.html Fine-Tuning MySQL Full-Text Search]:&lt;br /&gt;
&amp;lt;div style=&amp;quot;margin-left:1em&amp;quot;&amp;gt;&lt;br /&gt;
The minimum and maximum length of words to be indexed is defined by the &amp;lt;code&amp;gt;ft_min_word_len&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;ft_max_word_len&amp;lt;/code&amp;gt; system variables (available as of MySQL 4.0.0). See [http://dev.mysql.com/doc/mysql/en/server-system-variables.html Section 5.3.3, “Server System Variables”]. The default minimum value is four characters. The default maximum depends on your version of MySQL. If you change either value, you must rebuild your &amp;lt;code&amp;gt;FULLTEXT&amp;lt;/code&amp;gt; indexes. For example, if you want three-character words to be searchable, you can set the &amp;lt;code&amp;gt;ft_min_word_len&amp;lt;/code&amp;gt; variable by putting the following lines in an option file (you can simply put these lines in my.cnf):&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 [mysqld]&lt;br /&gt;
 ft_min_word_len=3&lt;br /&gt;
&lt;br /&gt;
 [myisamchk]&lt;br /&gt;
 ft_min_word_len=3&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart the server &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mysqladmin shutdown&lt;br /&gt;
mysqld_safe &amp;amp;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
and rebuild your &amp;lt;code&amp;gt;FULLTEXT&amp;lt;/code&amp;gt; indexes. Also note particularly the remarks regarding '''myisamchk''' in the instructions following this list.&lt;br /&gt;
*to do this, simply run the mediawiki rebuild text script by [[Executing a Mediawiki Maintenance Script | executing a mediawiki maintenance script]] found in the wiki/maintenace directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
php rebuildtextindex.php&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
You might want to consult this site [http://dev.mysql.com/doc/refman/5.0/en/fulltext-fine-tuning.html] for further reference.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Common words, searching for which is not possible]]&lt;br /&gt;
* [[Help:Searching]]&lt;/div&gt;</summary>
		<author><name>65.122.123.130</name></author>
		
	</entry>
</feed>