MySQL
  Home arrow MySQL arrow Page 2 - Developing A Site Search Engine With PHP A...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MYSQL

Developing A Site Search Engine With PHP And MySQL
By: Mitchell Harper
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 91
    2002-02-16

    Table of Contents:
  • Developing A Site Search Engine With PHP And MySQL
  • Search Engine Theory
  • Creating the database
  • The searchdocs.php script
  • The doSearch function
  • Testing our search script
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Developing A Site Search Engine With PHP And MySQL - Search Engine Theory


    (Page 2 of 7 )

    The search engine that we're going to create in this article is extremely basic, but still adheres to the theories of any other search engine: a user enters one or more keywords and a set of results are returned based on these keywords.

    Search engines have been one of the reasons why the Internet has become such a popular medium for information storage and retrieval. For many of the modern search engines (such as Google and Yahoo), you can think of the way they work as giant yellow pages. All of their data is indexed in a way that a set of algorithms can easily be applied to it to return matching records. These records contain the title of the matching web site, as well as its ranking, short description, and URL.

    Because these sites have millions (if not billions) of records indexed, the results normally span several pages, with the most relevant results being displayed first. A typical web user will not view past the third page of search results, so it is imperative that the first three pages contains links matching the users keywords as closely and as accurately as possible.

    One of the other design requirements of any search engine is speed. Google has shown that a search engine doesn't have to include fancy listings or advanced options to become popular. In just a couple of years, Google has become one of the most popular (if not the most) search engines on the Internet. If you're after a good read, then checkout the history of google. It's quite interesting.

    We're going to try and make our search engine as fast as possible, limiting its functionality to non-duplicated, basic keyword recognition.

    More MySQL Articles
    More By Mitchell Harper


     

    MYSQL ARTICLES

    - MySQL and BLOBs
    - Two Lessons in ASP and MySQL
    - Lord Of The Strings Part 2
    - Lord Of The Strings Part 1
    - Importing Data into MySQL with Navicat
    - Building a Sustainable Web Site
    - Creating An Online Photo Album with PHP and ...
    - Creating An Online Photo Album with PHP and ...
    - PhpED 3.2 – More Features Than You Can Poke ...
    - Creating An Online Photo Album with PHP and ...
    - Creating An Online Photo Album with PHP and ...
    - Security and Sessions in PHP
    - Setup Your Personal Reminder System Using PHP
    - Create a IP-Country Database Using PERL and ...
    - Developing a Dynamic Document Search in PHP ...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
    Stay green...Green IT