开发者

Building search to the website

I have a website which has about 200 to 300 static public pages. I am required to bring about some kind of search functionality on开发者_C百科 the website which will search all of its public pages. I don't want to use external tools like Google site search, etc. Is there a tool or open source code that will index the content and then display the search results? I am looking for a tool that will maintain its own index and run on the server along with the website. If I can add items to the index and manage it that would be a plus. I have looked at Zend Search Lucene, if there is a tool out there, I am hoping to use it before I make one myself.


  • Zend_Search_Lucene is a very good choice. It is compatible with the Java version of Lucene (I mean the index files). It can index html documents, it's quite simple to use and configure and has a good documentation.

  • Using Solr as a service is an option as well.

  • Sphinx is another tool you might want to look at.


You can try -

Sphider is a lightweight web spider and search engine written in PHP, using MySQL as its back end database. It is a great tool for adding search functionality to your web site or building your custom search engine. Sphider is small, easy to set up and modify, and is used in thousands of websites across the world.

http://www.sphider.eu/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜