<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1022252" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1022252</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/web-database-development/fulltext-search#comment-1137157</link>
    <description> &lt;p&gt;Well I see a few things here...&lt;/p&gt;
&lt;p&gt;Not sure where you got the code, but I belive that is 4.0.X not 3.X code.&lt;/p&gt;
&lt;p&gt;First off the create, I dont remeber seeing a &quot;KEY&quot; ever used, it is called an index used the INDEX namehere..&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: FULLTEXT
&lt;ol&gt;
&lt;/ol&gt;
&lt;/p&gt;&lt;p&gt; [index_name] (index_col_name,...)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Next we have your creation, you used a single column at a time. If you want them to be search together as you did in your query you must combined them like SO....&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: FULLTEXT INDEX namdesc (name,description)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Now for you search. MySQL 3.23.56 does not support boolean mode, only 4.0 and higher, so your search criteria can not have the &quot;+&quot; operators.&lt;/p&gt;
&lt;p&gt;Now onto the problem...&lt;/p&gt;
&lt;p&gt;The field list must be the FULLTEXT index name, if none is given you specify the fields in the proper order.&lt;/p&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;Quote: All parameters to the MATCH() function must be columns from the same table that is part of the same FULLTEXT index, unless the MATCH() is IN BOOLEAN MODE. &lt;/p&gt;
&lt;p&gt;The MATCH() column list must exactly match the column list in some FULLTEXT index definition for the table, unless this MATCH() is IN BOOLEAN MODE. &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;So you had 2 indexes requireing they each be matched seperatly. The documents are a little tough to follow, but because you gave indexes you Match would have have been Match(name) Against() AND Match(description) Against().&lt;/p&gt;
&lt;p&gt;For this reason I suggest making index have a unique name not the same or too similar to a table&#039;s column name.&lt;/p&gt;
&lt;p&gt;If you use my above Create fix, you can keep your existing query less the boolean operator. That will be the only way to search both field together as one FULLTEXT index.&lt;/p&gt;
&lt;p&gt;Here is an example to help better uderstand how it works:&lt;br /&gt;
CREATE TABLE blank(foo tinytext, boo tinytext, zoo tinytext, doo tinytext, FULLTEXT INDEX fb(foo,boo), FULLTEXT INDEX zd(zoo,doo));&lt;/p&gt;
&lt;p&gt;You select for fb can be MATCH(fb) or MATCH(foo,boo), one used the index, the other the columns that make the fulltext. Same applies for zd.&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Sep 2003 18:56:35 +0000</pubDate>
 <dc:creator>ShaneS</dc:creator>
 <guid isPermaLink="false">comment 1137157 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
