0

我创建了一个博客,我希望在我的 MySQL 数据库中搜索某些表,然后在单独的搜索页面上为用户返回结果。我不想使用 Google CSE。我将如何为我的网站创建这个。我在 StackOverflow.com 上找到了一个朋友发的帖子,他希望提高自己的效率。我将如何在我的网站中实施他的搜索引擎?

他的代码 -这里

4

1 回答 1

0

Are you limited to SQL? There is a lot of software better suitable for text search than any relational database engine. Sphinx, Lucene, Xapian, just to name few.

EDIT MySQL has some full-text indexing capabilities as well. You may want to check them out.

于 2010-07-27T01:31:24.840 回答