Many Web applications offer full-text search capabilities, wherein the user can locate matching records by using a word or word fragment as the query term. Behind the scenes, these applications are often performing this search by using a LIKE clause in a SELECT query. While this certainly works, it is an extremely inefficient way of performing a full-text search, especially with large volumes of data.
MySQL offers a solution to this problem, in the form of built-in full-text search. Here, the developer need simply mark certain fields as needing full-text search, and then use special MySQL functions to run searches on those fields. This is not only more performance-efficient (because MySQL indexes these fields differently to optimize the search) but also results in higher-quality searches, because MySQL intelligently ranks the results using a natural-language algorithm to remove irrelevant items.
This document will show you how to perform full-text searches in MySQL
Tuesday, March 28, 2006
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- List Job (QUSLJOB) API
- Make a Home made, open source mp3 Player
- UDATE and *DATE in AS400 RPG
- AS400 Jobs: Do you have a job at the moment?
- Sending and receiving email on i5/os - QtmmSendMail
- A free fully functional database is yours with Microsoft's SQL Server Express
- 3 fires up high-speed Super 3G network, News at CNET.co.uk
- Recover or reset QSECOFR passwords
- API Example - Deleting Old Spooled Files
No comments:
Post a Comment