sudhakararaog,
I would make a strong recommendation you check out some existing site indexing scripts. I believe that google even allows you to "search your site" for free. Check this out Here. Note: it will display ads for google.
The methods you are talking about would put extreme strain on your system.
You will want to write a php script to read all HTML/PHP Files (you can open the website so that the PHP is parsed), and save the information you need to into an SQL database.
You can extract the item titles, and however you will get your brief descriptions, and save it there.
There are existing site search items made in Perl that are free, unfortunately I don't know of an existing project for PHP.
Here is the basic idea:
(background process):
Follow every link within your domain, and index every page (or if your site is small enough, provide every page in a list)
Save the information in the scheme as described above, but taking note as to the page it found it on, i.e. home.html found "Welcome to My home Page", it would be saved with "home.html" in one column in the database, along with the data of home.html (that you wish to save) in another.
Get your POST Variable, and search the database using the keywords, I would recommend researching "Full Text Search" for MySQL or whatever SQL Server you are running.
See MySQL Full Text Search Tutorial Here
This should get you started. Good Luck!