Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Boolean searches on InnoDB tables?

From: mos <mos99(at)fastmail.fm>
Date: Wed Oct 24 2007 - 23:06:33 EDT


At 02:54 AM 3/4/2006, Daevid Vincent wrote:
>I just discovered this:
>http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html
>Which states:
>"They can work even without a FULLTEXT index, although a search executed in
>this fashion would be quite slow. "
>
>But then I'm kicked in the nuts because:
>http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html
>"Full-text indexes can be used only with MyISAM tables"
>
>When I try a query on an InnoDB table:
>
>"SELECT * FROM categories WHERE MATCH (name) AGAINST ('+ELECTRONICS' IN
>BOOLEAN MODE);"
>
>I get:
>"Error Code : 1214
>The used table type doesn't support FULLTEXT indexes"
>
>So, what is the deal? Am I missing something?
>
>And if I can't use boolean searches on InnoDB tables with mySQL 5.0.18,
>Then WHEN will I be able to?
>
>In the mean time, what is the best way to generate this equivallent
>functionality via PHP or some other mySQL 5 sanctioned way? I've seen
>several different examples on the web, but don't know which to commit to.

Daevid,

       Get yourself an ice-pack and visit http://www.sphinxsearch.com/. They have a free full text search add-on for MySQL that works with InnoDb and MyISAM tables. You'll feel better in the morning. :)

Mike

-- 
MySQL General Mailing List
For list archives: 
http://lists.mysql.com/mysql
To unsubscribe:    
http://lists.mysql.com/mysql?unsub=lists@pantek.com
Received on Wed Oct 24 23:06:54 2007

This archive was generated by hypermail 2.1.8 : Thu Jul 03 2008 - 08:41:50 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library