I am using full text search the query is having single quote in where clause it returning values but not accurate.
SELECT `id`, `itemid`, `title`,
MATCH( `itemid`, `title`, `product_id`,`p1_name`, `p2_name`, `p3_name`, `p4_name` )
AGAINST ( "men\'s" IN BOOLEAN MODE ) AS score FROM `deals`
WHERE `active_flag`='1' AND
MATCH( `itemid`, `title`, `product_id`,`p1_name`, `p2_name`, `p3_name`, `p4_name`)
AGAINST ( "men\'s" IN BOOLEAN MODE ) !=0
ORDER BY score DESC
it should return the case where key word is exactly "Men's" (dont include " double quotes). but it is returning the cases where men and s exist?
can anybody help me out?
thanks.