Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Dynamic Document Search Engine
Feb 18, 2004 @ 13:02:30

In part one of a new series from PHPBuilder.com this morning, they have posted Dynamic Document Search Engine - Part 1.

In this new piece, they discusss dynamic document searching - in a Dynamic Document Search every word in the document is parsed (read) and matched with the search words. Results are displayed based on the matches found.

Of course, the downside to searching like this is the massive amounts of data that you have to sift through doing full-text searches. So, they cheat a little and offer a solution - using a keyword table to link the content with some meaningful keywords. They give you code to filter out common words and extract the words that would help you match more effectively. And, of course, they continue on to give you some sample code for creating the actual search engine itself, using the keyword table to find which article might contain the word(s) you're looking for...

tagged:

Link:


Trending Topics: