在我的MySQL数据库我有一个由37,000(或大约)用户组成的用户表。用户搜索使用MySQL LIKE或集成搜索引擎(如solr,sphinx,lucene等)?
当用户在网站上搜索另一个用户时,我执行一个简单的通配符(即LIKE'{name}%})来返回找到的用户。
使用搜索引擎这样的solr来做我的'LIKE'搜索会更有效率和更快吗?此外?我相信solr我可以使用通配符查询(http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/)
说实话,目前使用LIKE查询的速度并不慢,但随着用户数量的增长,速度会变慢。任何提示或建议非常感谢。
http://stackoverflow.com/questions/4944174/mysql-full-text-or-sphinx-or-lucene-or-anything-else http://stackoverflow.com/questions/4774227/fulltext-search- with-mysql-ft-or-sphinx http://stackoverflow.com/questions/6820527/lucene-or-mysql-full-text-search –
[全文搜索引擎的优缺点Lucene,Sphinx,Postgresql全文搜索,MySQL全文搜索?](http://stackoverflow.com/questions/737275/pros-cons-of-full-text-search-engine-lucene-sphinx-postgresql-full-text-searc) –
@MauricioScheffer--这些问题不会回答我的问题,因为它正在搜索单词。我正在做一个通配符搜索,并想知道它是否存在于各种搜索服务器中,以及它是否比像wilcard这样的MySQL更高效。 – Flukey