Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/12/2006, 12:02
The Stranger
 
Fecha de Ingreso: marzo-2006
Mensajes: 66
Antigüedad: 18 años, 2 meses
Puntos: 0
Re: FULLTEXT SERACH - Problema!

De la misma manera. He borrado el índice fulltext y lo he vuelto a intentar, ésto es lo que me dice mySQL:

Código:
//La información en la que pretendo realizar mi búsqueda:
---
mysql> select palabras_clave from paginas;
+---------------------------+
| palabras_clave                  |
+---------------------------+
| queso jamon pan               |
+---------------------------+
1 row in set (0.00 sec)


//Borro el índice
---
mysql> alter table paginas drop index palabras_clave;
Query OK, 1 row affected (0.06 sec)
Records: 1  Duplicates: 0  Warnings: 0


//Intento realizar una búsqueda fulltext (me va a decir obviamente que no)
---
mysql> select * from paginas where match(palabras_clave) against('jamon');
ERROR 1191 (HY000): Can't find FULLTEXT index matching the column list


//Agrego nuevamente el índice fulltext
---
mysql> alter table paginas add fulltext(palabras_clave);
Query OK, 1 row affected (0.06 sec)
Records: 1  Duplicates: 0  Warnings: 0


//Realizo nuevamente la búsqueda fulltext
mysql> select * from paginas where match(palabras_clave) against('jamon');
Empty set (0.00 sec)

//ME DEVUELVE "EMPTY SET" !!! ¿Qué salió mal?
No encuentro ningun problema. ¿Alguna idea?