JavaScript
  Home arrow JavaScript arrow Implementing Full Text and Boolean Searche...
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  
Moblin 
JMSL Numerical Library 
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? 
JAVASCRIPT

Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX
By: Alejandro Gervasio
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2006-11-29

    Table of Contents:
  • Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX
  • Reviewing the core module
  • A final look before introducing the changes
  • Implementing full-text and Boolean searches

  • 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


    Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX


    (Page 1 of 4 )

    Do you want to learn how to create a fully-functional AJAX-driven search engine in a few easy steps? Then read this group of instructive tutorials on the subject. Welcome to the final installment of the series “Building a search engine with AJAX.” In three articles, this series walks you through the process of developing a search application which utilizes HTTP requester objects to perform searches in the background.

    If you read the previous tutorial, then certainly you’ll know that building a simple search engine with AJAX is indeed a comprehensive project which can be developed without demanding too much hard work from us. Naturally, the more features you want to add to the application, the more knowledge on web programming you’ll need, but this doesn’t imply that you have to be an experienced developer to include this kind of program into existing websites.

    True to form, AJAX offers a handy set of methods and properties. When these are used properly, they make creating applications like this search engine a no-brainer process.

    Now, and returning to the topics covered on the previous tutorial, I’m sure that it’ll be fresh in your mind how I created the search engine in question. Not only did I define all its respective client-side code, but I also created the required PHP classes for performing searches against a selected database.

    In addition, you’ll remember clearly that the current incarnation of the application presents some drawbacks concerning the implementation of searches with MySQL. Why am I saying this? Well, as you’ll recall from the second article, all the SELECT queries executed against the sample database table used the “LIKE” statement to match the search term entered in the corresponding input form.

    However, this is rather limited if you’re used to working with large amounts of data and with multiple databases. Performing a search with a LIKE command can be a real time consumer -- literally -- if you’re immersed in the demanding scenario that I just described.

    For this reason, in this last part of the series I’ll introduce some modifications to the original search engine. They will allow the implementation of the popular full-text and Boolean searches. Hopefully, these changes will improve the overall application by expanding its range of utilization to larger projects.

    Ready to tackle the final part of this series? Okay, let’s get going!

    More JavaScript Articles
    More By Alejandro Gervasio


       · In this final tutorial of the series, you'll learn how to add full-text and boolean...
     

    JAVASCRIPT ARTICLES

    - Using Mod_Security to Protect Your Server
    - Detecting and Countering Server Intrusions
    - Securing Your Web Server
    - Building a Secure Web Server
    - Protecting the Server
    - Book Review: Learning the Yahoo! User Interf...
    - Dynamically Generate a Selection List in a R...
    - Intergrate DWR into Your Java Web Application
    - Detect Browser Compatibility with the Reques...
    - Using the EXT JS Date Picker Widget
    - Ajax Hack for Entering Information Without R...
    - EXT JS 2.1 Overview
    - Using the Style Object for Zebra Tables with...
    - Binary Searching
    - An Improved Approach to Building Zebra Tables






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