Logo Background RSS

Create your own search engine in PHP

  • Written by vinuvinu 3 Comments3 Comments Comments
    Last Updated: September 10th, 2007

    Here’s a good article from Zend showing you how to create your own search engine using Zend_Search_Lucene (part of the Zend Framework).

    One of the features that sets the Zend Framework apart from the others is the inclusion of a decent search module. Zend_Search_Lucene is a php port of the Apache Lucene project, a full-text search engine framework. Zend_Search_Lucene promises a simple way to add search functionality to an application without requiring additional php extensions or even a database.

    Zend_Search_Lucene overcomes the usual limitations of relational databases with features such as fast indexing, ranked result sets, a powerful but simple query syntax, and the ability to index multiple fields. Better still, a Zend_Search_Lucene index can live happily alongside your relational database to provide fast searching but without duplicating the effort of storing all of your data twice. In this tutorial, I’ll show you how to use Zend_Search_Lucene to index and search some RSS feeds.
    Link: Roll Your Own Search Engine with Zend_Search_Lucene

    Bookmark and share:
    • del.icio.us
    • Digg
    • StumbleUpon
    • BlinkList
    • blogmarks
    • Furl
    • Slashdot
    • Spurl
    • Technorati
    • YahooMyWeb
    • description
    • Facebook
    • Google
    • Live
    • Ma.gnolia
    • NewsVine
    • Reddit
    • TwitThis

Advertisement

  1. #1 Yulia
    November 5th, 2007 at 7:22 pm

    Here is another one example of creating full-Text search for using Lucene search engine: http://blog.scalingweb.com/2007/11/03/full-text-search-for-database-using-lucene-search-engine/

    Post ReplyPost Reply
  2. #2 vinu
    November 5th, 2007 at 7:54 pm

    Thanks for the link. I prefer using the Lucene package in the Zend framework since it’s a native PHP implementation and doesn’t require Java to be installed on the server

    Post ReplyPost Reply
  3. #3 Anton
    November 21st, 2007 at 3:57 pm

    php lucene is good, but it takes longer time than use java lucene

    Post ReplyPost Reply
Leave a Comment