Results missing from a mysql FULLTEXT boolean mode search -


i'm trying use fulltext index in order facilitate searching forum posts. it's not working in way expect, , i'm trying understand why not.

for example, know there 1 post contains phrase "haha , got three", perform query

select * forum_posts match(message) against ('"haha , got three"' in boolean mode); 

and expect, find single post includes phrase. hooray!

but perform related query:

select * forum_posts match(message) against ('"and got three"' in boolean mode); 

and no results. in fact, searching word "three":

select * forum_posts match(message) against ('three' in boolean mode); 

yields no results either.

what going on?

i think need learn stop words , minimum word length.

my default, mysql ignores stop words in full text index. here list of them. "and got three" stop words.

in addition, default, mysql ignores words less characters. controlled parameter. explained in more detail here.

it sounds want change stop word list , change minimum word length , rebuild index.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -