U would be required to have components such as Gatherer and Broker to enable Search option in ur website. The Gatherer is responsible for fetching Web-accessible resources from the Internet, parsing metadata from <META> tags embedded in HTML files into attribute-value pairs, encoding the metadata into SOIF (Summary Object Interchange Format), and sending the SOIF abstracts to a Repository managed by the Broker.
The Broker receives indexing information (as SOIFs) from one or more Gatherers, removes duplicate information, incrementally indexes the collected information (saving into the metadata repository), and provides a WWW query interface to it.
This just a initial implementation of implementing Search option, shall keep posting solutions to it as i progress with my development on it!
cheers

Aman