sql - full text search doesn't find anything -
**edit**
ok found problam, min word length search 4, changed 3 finds row 1 data , not row 2 data aswell...
-----original question:----
i have myisam table on phpmyadmin this:
table name: `users` coulmn name: `name` row 1 data: 'dan' row 2 data: 'dan252'
(it's important part of it)
now name fulltext index field, im using query:
select * `users` match(`name`) against('dan')
but phpmyadmin returns:
mysql returned empty result set (i.e. 0 rows). ( query took 0.0004 sec )
why it's not finding anything?
*edit*
ok found problam, min word length search 4, changed 3 finds row 1 data , not row 2 data aswell...
match
works on columns fulltext
indicing. , fulltext
indicing works on myisam tables.
secondly, 'dan' too short use on match
.
thirdly, if search term matches more 50% of rows, term considered common , search fails.
have read here.
Comments
Post a Comment