Ver Mensaje Individual
  #4 (permalink)  
Antiguo 10/05/2012, 09:53
leonardo_josue
Colaborador
 
Fecha de Ingreso: enero-2007
Ubicación: México
Mensajes: 2.097
Antigüedad: 17 años, 3 meses
Puntos: 447
Respuesta: Búsqueda fulltext ordenada

Hola johndi:

Puedes probar con cualquiera de las dos siguientes maneras

Código MySQL:
Ver original
  1. SELECT `title`, MATCH (`title`,`key`) AGAINST ('leon animal') relevancia
  2. FROM `inventario`
  3. WHERE MATCH (`title`,`key`) AGAINST ('leon animal')
  4. ORDER BY relevancia, `year` DESC

o así:

Código MySQL:
Ver original
  1. SELECT `title`
  2. FROM `inventario`
  3. WHERE MATCH (`title`,`key`) AGAINST ('leon animal')
  4. ORDER BY MATCH (`title`,`key`) AGAINST ('leon animal'), `year` DESC

Haz la prueba y nos comentas.

Saludos
Leo