To make a search engine you need to learn server side languages like php or perl dreamweaver will not teach you how to code. Of course there is thousands of scripts out there for sale that will do the same thing even some are free. If you feel like building a successful search engine tho it must be revolutionary.
Like 007c said above, you need more than just Dreamweaver to create a functioning search engine. There needs to be some programming called server side languages that run on the server and can do the functionality you are asking for.
Dreamweaver is used to design much more easily.For creating a search engine you should have to program it.