Search functionality in Customer Portal

The main Manager program has the ability to search. Would it be a quick job to copy the coding for this search functionality and incorporate it into the Customer Portals which at the moment has no search capability.