The intent is to allow users to create sites and sub-sites, add document libraries and make the sub-sites searchable. I am thinking I need to create a site template with a custom Search UI page that will search the current site and any sub-sites that exist. I am not sure how to go about coding the search page. What to specify for scope? Any help or pointers are most welcome. Thanks in advance.
Edit: The custom search page will have its own code behind. I'll be invoking the Sharepoint search web service.
Edit: I guess I could get the current site from the URL and when invoking the search web service, in the search query, check if "Path" contains the current site's url. Might get tricky if user searches from a sub-site.