ixxalnxxi
04-08-2008, 05:10 AM
using mysql 5.0.
i have the following entry in a table called 'doctors':
DoctorID, FirstName, LastName, ContactPhone
and their values, respectively
28, mo, khan, 133534634
when i run the query:
SELECT DoctorID, FirstName, LastName, d.ContactPhone,
MATCH (
FirstName, LastName
)
AGAINST (
'+"khan"'
IN BOOLEAN
MODE
)
FROM Doctors d, Users u
WHERE u.UserID = d.UserID
AND u.UserID =12
AND d.Active =1
AND MATCH (
FirstName, LastName
)
AGAINST (
'+"khan"'
IN BOOLEAN
MODE
)
LIMIT 0 , 30
i get the correct results. but when i swap the 'khan' with 'mo', i do not get the same results. any suggestions?
(fulltext is on for the FirstName and LastName columns)
i have the following entry in a table called 'doctors':
DoctorID, FirstName, LastName, ContactPhone
and their values, respectively
28, mo, khan, 133534634
when i run the query:
SELECT DoctorID, FirstName, LastName, d.ContactPhone,
MATCH (
FirstName, LastName
)
AGAINST (
'+"khan"'
IN BOOLEAN
MODE
)
FROM Doctors d, Users u
WHERE u.UserID = d.UserID
AND u.UserID =12
AND d.Active =1
AND MATCH (
FirstName, LastName
)
AGAINST (
'+"khan"'
IN BOOLEAN
MODE
)
LIMIT 0 , 30
i get the correct results. but when i swap the 'khan' with 'mo', i do not get the same results. any suggestions?
(fulltext is on for the FirstName and LastName columns)