Best way to handle searching multiple profiles

Post Reply
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Best way to handle searching multiple profiles

Post by pete.smith »

Hello,
Our intranet is gigantic. I need to set up separate profiles to search different parts. What I want to do is, have a search box that searches all, and then displays the results GROUPED by the different profiles it searched against. For example, facebook and then our knowledge base. I then want to have the DD menu allow people to scope the search to just that collection if they know it. I have the latest dowalk and search scripts.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Best way to handle searching multiple profiles

Post by mark »

Sounds like you need to do some non-trivial customizations to the search script to have it search each profile in turn and present the results. I think there are some discussions of doing similar things on this board.
pete.smith
Posts: 73
Joined: Tue May 17, 2005 2:08 pm

Best way to handle searching multiple profiles

Post by pete.smith »

Mark I havent found any, can you suggest the best way? The groupings in the results are less important, than the ability to join two separate profiles together in one results set.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Best way to handle searching multiple profiles

Post by mark »

The grouping by profile is what makes it easier. The search function performs the search sql and presents the results for a given profile. You need to change it to <loop> over the selected profiles and perform the sql query for each one.
Post Reply