Buongiorno!
Oggi per la prima volta mi sto affacciando alle ricerche FullText in php, seguendo le dritte degli articoli di questo sito.
Al solito le cose non vanno mai bene alla prima.
Con la query
nel php my admin, viene generato quest'errore:Codice PHP:"SELECT *, MATCH(nome, tags) AGAINST('".$nome."') as score
FROM prodotto
WHERE MATCH(nome, tags ) AGAINST ('".$nome."') ORDER BY score DESC";
La tabella in questione, prodotto, ha la seguente struttura:Codice PHP:Error Code : 1191 Can't find FULLTEXT index matching the column list
Dove sto sbagliando?Codice PHP:CREATE TABLE `prodotto` (
`id` int(11) NOT NULL auto_increment,
`id_installazione` int(11) NOT NULL default '0',
`id_scheda` int(11) NOT NULL default '0',
`id_tipologia` int(11) NOT NULL default '0',
`nome` text NOT NULL,
`nome_en` text NOT NULL,
`nome_de` text NOT NULL,
`testo` text NOT NULL,
`testo_en` text NOT NULL,
`testo_de` text NOT NULL,
`dim_x` text NOT NULL,
`dim_y` text NOT NULL,
`altezza` text NOT NULL,
`dimensioni_alt` text NOT NULL,
`codice` text NOT NULL,
`priorita` int(11) NOT NULL default '0',
`scheda` text NOT NULL,
`dwg` text NOT NULL,
`locker` int(11) NOT NULL default '0',
`tags` text,
PRIMARY KEY (`id`) )
ENGINE=MyISAM DEFAULT CHARSET=utf8;
Grazie...

Rispondi quotando
