28 May 2010
06 Aug 2010
Link to this post
I've read the forum thread about having multiple sites stored in the same database by providing an applicationName attribute in the web.config file.
My question is whether or not there is a way to configure the search service to retrieve results from both sites, regardless of which site the user is currently on. For example, I have two websites under the same domain, defined in web.config as "/website1" and "/website2". If a user searches for "foobar" on Website 1, I would like the results to include hits from both Website1 and Website2.
If I define applicationName for the search provider as "/", will that allow me to retrieve results for any applicationName, or will it only retrieve results for websites where applicationName is not explicitly defined?
Alternatively, is there a straightforward way of extending the Search module/service into a GlobalSearch that would iterate through all of the applicationNames stored in a database and A) integrate the results, or B) display the results grouped by applicationName?
Thanks for you help,