configurar MATCH AGAINST en MySQL para menos de 4 caracteres en búsquedas bbdd



   AUTOR PREGUNTA

Publicado 08 septiembre 2013 - 20:09

[size=4]Hola de nuevo amigos,[/size]

necesito modificar mi base de datos montada en MySQL para que acepte 3 caracteres, ahora por defecto sólo hace búsquedas de 4 caracteres. Sé que tengo que modificar la configuración. ¿Podéis decirme los pasos para que busque en MySQL con 3 caracteres o más?

gracias.


¿Tienes la misma pregunta? Yo también

 

Publicado 17 junio 2014 - 15:21

Busca esto y lo cambias:

[mysqld]
ft_min_word_len=3

Reinicias el servicio o server y listo.

 

Publicado 17 junio 2014 - 15:23

Cuando hagas lo que dice Enrique que no se te pase reconstruir los index de FULLTEXT.

Para SQL:



To rebuild a full-text catalog

  • In Object Explorer, expand the server, expand Databases, and then expand the database that contains the full-text catalog that you want to rebuild.
  • Expand Storage, and then expand Full Text Catalogs.
  • Right-click the name of the full-text catalog that you want to rebuild, and select Rebuild.
  • To the question Do you want to delete the full-text catalog and rebuild it?, click OK.
  • In the Rebuild Full-Text Catalog dialog box, click Close.


+Info:

Por favor Identificate o Registrate para poder ver este contenido


 

Publicado 17 junio 2014 - 16:01

Te lo han dicho perfect, yo te añado esta info, aquí te viene de forma oficial de MySQL por si lo quieres comparar:

Por favor Identificate o Registrate para poder ver este contenido