Home arrow JavaScript arrow Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX
JAVASCRIPT

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


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.

Author Info:
By: Alejandro Gervasio
Rating: 5 stars5 stars5 stars5 stars5 stars / 8
November 29, 2006
TABLE OF CONTENTS:
  1. · Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX
  2. · Reviewing the core module
  3. · A final look before introducing the changes
  4. · Implementing full-text and Boolean searches

print this article
SEARCH DEVARTICLES

Implementing Full Text and Boolean Searches for a Search Engine Built with AJAX
(Page 1 of 4 )

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!


blog comments powered by Disqus
JAVASCRIPT ARTICLES

- Project Nashorn to Make Java, JavaScript Wor...
- JavaScript Virus Attacks Tumblr Blogs
- Google Releases Stable Dart Version, JavaScr...
- Khan Academy Unveils New JavaScript Learning...
- Accessing Nitro? There`s an App for That
- JQuery 2.0 Leaving Older IE Versions Behind
- Fastest JavaScript Engine Might Surprise You
- Microsoft Adjusting Chakra for IE 10
- Brendan Eich: We Don`t Need Google Native Cl...
- An Overview of JavaScript Statements
- An Overview of JavaScript Operators
- Overview of JavaScript Variables
- More of the Top jQuery Social Plugins
- The Top jQuery Social Plugins
- More of the Top jQuery Slider Plugins

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials