Originariamente inviato da piero.mac

For natural-language full-text searches, it is a requirement that the columns named in the MATCH() function be the same columns included in some FULLTEXT index in your table. For the preceding query, note that the columns named in the MATCH() function (title and body) are the same as those named in the definition of the article table's FULLTEXT index. If you wanted to search the title or body separately, you would need to create separate FULLTEXT indexes for each column.

http://dev.mysql.com/doc/refman/5.0/...-language.html

grazie mille ho risolto, dovevo separare gli indici fulltext, prima erano visti come un unico indice

Codice PHP:
CREATE TABLE `pages` (
  `
idint(10unsigned NOT NULL auto_increment,
  `
pathvarchar(100NOT NULL,
  `
ordineint(11NOT NULL,
  `
padreint(11NOT NULL,
  `
titlevarchar(150NOT NULL,
  `
en_titlevarchar(150NOT NULL,
  `
menu_titlevarchar(100NOT NULL,
  `
en_menu_titlevarchar(100NOT NULL,
  `
bodytext NOT NULL,
  `
en_bodytext NOT NULL,
  `
activetinyint(1NOT NULL default '1',
  `
menuvarchar(10NOT NULL,
  
PRIMARY KEY  (`id`),
  
UNIQUE KEY `path` (`path`),
  
KEY `padre` (`padre`),
  
FULLTEXT KEY `body` (`body`),
  
FULLTEXT KEY `title` (`title`),
  
FULLTEXT KEY `en_title` (`en_title`),
  
FULLTEXT KEY `en_body` (`en_body`)
ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=20