How does MySQL fulltext search work?

亡梦爱人 提交于 2019-12-04 17:56:25

问题


I have a pretty good idea how to implement fulltext search with MySQL. I know how to add indexes and make a query and sort my results.

But I have been trying to get some more in-dept information on how it works, so to say what happens behind the scenes. How does MySQL determine the results relevance. What does the score even mean? Which can reach from 0.1 to over 4.6 (which I have seen at least, probably more) And what is really being indexed?

What happens to my search string that is entered?

I am thankful for links or explanations here!


回答1:


This page has a good explanation - http://dev.mysql.com/doc/internals/en/full-text-search.html



来源:https://stackoverflow.com/questions/9820801/how-does-mysql-fulltext-search-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!