MySql Full Index search not working -



MySql Full Index search not working -

i set illustration code here

http://sqlfiddle.com/#!2/6aa9ec/1

below mentioned db query used searching word samsung not working

select `idrequest`, `user_name`, `idcategory`, `title`, `description`, `image_url1`, `image_url2`, `image_url3`, `post_date` `requests` match (`title`,`description`) against('samsung')

you can utilize boolean full-text searches

select `idrequest`, `user_name`, `idcategory`, `title`, `description`, `image_url1`, `image_url2`, `image_url3`, `post_date` `requests` match (`title`,`description`) against('+samsung' in boolean mode)

according docs

mysql can perform boolean full-text searches using in boolean mode modifier. modifier, characters have special meaning @ origin or end of words in search string. in next query, + operator indicate word required present, respectively, match occur.

demo

mysql full-text-search

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -