mysql - must match both columns in boolean mode -



mysql - must match both columns in boolean mode -

i have sql query currently:

select htext paragraphs match(htext, keywords) against('+genomics' in boolean mode) order match(htext) against('+genomics' in boolean mode)desc

however i'm getting rows if match in either htext or keywords...i want keyword have match in htext , keywords. im having issues ordering relevance in mysql 5.1

select htext, match(htext) against('+genomics' in boolean mode) relevance paragraphs match(htext) against('+genomics' in boolean mode) , match(keywords) against('+genomics' in boolean mode) order relevance desc

mysql

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -