Ge64 Posted May 17, 2008 Share Posted May 17, 2008 How do I get this to return some results? mysql> SELECT * FROM information; +------+-----------------------+-----------+------+---------------------+--------+---------+ | id | tags | data | type | date | source | subject | +------+-----------------------+-----------+------+---------------------+--------+---------+ | 0 | this,that,the other | SOMESHIT | NULL | 2008-05-17 16:59:49 | NULL | NULL | | 1 | this,that,the other | whatever3 | NULL | 2008-05-17 16:59:49 | NULL | NULL | | 2 | bla your mouse coffee | whatever | NULL | 2008-05-17 16:59:49 | NULL | NULL | +------+-----------------------+-----------+------+---------------------+--------+---------+ 3 rows in set (0.01 sec) mysql> SELECT id,data FROM information WHERE MATCH (tags) AGAINST('your'); Empty set (0.00 sec) mysql> This is my table according to CocoaMySQL: Is there anything else I need to do before this works, I've never tried it before. Edit: I'm using 4.1.22-log Link to comment https://forums.phpfreaks.com/topic/106043-solved-no-results-for-freetext-search-beginner/ Share on other sites More sharing options...
mezise Posted May 17, 2008 Share Posted May 17, 2008 'your' word is in default MySQL FULLTEXT stopword list. Check information about FULLTEXT configuration variables: ft_stopword_file, ft_min_word_len, etc. There are more restrictions for using FULLTEXT, please check relevant manual entries. Link to comment https://forums.phpfreaks.com/topic/106043-solved-no-results-for-freetext-search-beginner/#findComment-543498 Share on other sites More sharing options...
Ge64 Posted May 17, 2008 Author Share Posted May 17, 2008 Thanks, problem solved Link to comment https://forums.phpfreaks.com/topic/106043-solved-no-results-for-freetext-search-beginner/#findComment-543499 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.