Have you ever wanted a search engine on your site but didn't know how to do it? If so, read this article and see for yourself how Daniel Solin creates a search engine using PHP.
As shown in this article, search engines can be pretty simply built, but still quite useful. Without much hazzle, you could develop this concept further to handle multiple keywords, boolean operators, and other features you find in many commercial search facilities.
It could also be interesting to populate the database further with a few hunder megs of data. Would the speed still be at en reasonable level? Well, probably. One thing we could be absolutetly sure of, however, is that for an intranet of a mid-sized company with just a few dussin searches per hour, this solution always offer stunning performance.
Whether you're planning to develop a big-scale commrcial search engine, or are just playing around, http://www.robotstxt.org/wc/robots.html offers lots of helpful and interesting reading on this topic. I wish you good luck, and is looking forward to get a visit from your spider soon! :)
occurrence, not occurence!
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.