> How does people write their own search engine for their sites? > > I used to create a database where the individual content of the pages are stored in the database records. This seems not to be a really good way since its more troublesome. > > Is there any tutorial or discussion on the other website that talk about this? You might want to take a look at a some popular open-source solutions to see how they do it. I've heard good things about these: http://search.mnogo.ru/ http://www.htdig.org/ -- sarah adams web developer & programmer portfolio: http://sarah.designshift.com blog: http://hardedge.ca