问题描述
我想为我的网站提供搜索引擎,这些网络搜索引擎(例如Google,yahoo等)是否提供免费服务?或者我应该自己做
I want to have a search engine for my website, is any of these web search engines(like Google,yahoo,etc) provide a free service? Or I should do it by myself
推荐答案
Zend_Search_Lucene 是一个完全实现且基于PHP的快速全文本搜索引擎.您必须索引自己的数据,但它提供了很大的灵活性和控制力(搜索内容,类型,要返回的关联数据等).还有许多其他语言的实现.
Zend_Search_Lucene is a fully implemented and fast PHP based fulltext search engine. You'll have to index your own data but it provides a great deal of flexibility and control (search content, type, associated data to return etc). There are also implementations in many other languages.
如果您要为产品或文档建立索引,而不是希望在Google上搜索网站内容,那么这是一个更好的选择.
This is a better option if you are indexing products or documents, not if you want the content of your website to be searched à la Google.
这篇关于如何制作网站搜索引擎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!