As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center用于指导。
6年前关闭。
如果这是真的:
4000% Performance Increase By Sorting In PHP Rather Than MySQL
如何使用PHP进行全文搜索?换句话说,当数据保存在MySQL中时,如何在PHP中处理搜索呢?
多谢提前!
6年前关闭。
如果这是真的:
4000% Performance Increase By Sorting In PHP Rather Than MySQL
如何使用PHP进行全文搜索?换句话说,当数据保存在MySQL中时,如何在PHP中处理搜索呢?
多谢提前!
最佳答案
最有可能有几种方法可以做到这一点(虽然我不能说任何关于4000%)。最常出现的是使用狮身人面像或露西。
http://sphinxsearch.com/files/talks/sphinx-nyphp_meetup-2011.pdf
仔细看,有几个问题涉及到这个概念。
php mysql fulltext search: lucene, sphinx, or?
一些好消息-Comparison of full text search engine - Lucene, Sphinx, Postgresql, MySQL?
在大多数情况下,尽管使用索引可以提高mySQL中的性能搜索。
索引基本MySQL查询-http://hackmysql.com/case1
10-07 13:08