Page 1 of 1

<Profile> tag in Meta Search output

Posted: Wed Oct 29, 2008 1:59 pm
by rjhertzberg
All -

From what I understand in the documentation, the <Profile> element that is output in each <Result> element should contain the name of the Profile from which the result came from. I have created a Meta Search profile, that is a collection of 3 other Profiles. However, when I perform a search, it seems that the <Profile> element in the output is the name of the Meta Search profile, and not the profile that the result was actually from.

For example, I have three profiles - Profile A, Profile B and Profile C. I created a Meta Search profile called "Profile Meta" that includes Profile A, B and C. When I search the "Profile Meta" profile, the <Profile> element contains "Profile Meta". Am I correctly understanding how this is suppossed to work? If not, how can I determine which profile the result was from? The reason for needing is that we have a desire to alter the result format, depending on which profile the result came from. Any thoughts or suggestions would be greatly appreciated!!

Thanks in Advance,
Russell

<Profile> tag in Meta Search output

Posted: Fri Oct 31, 2008 11:37 am
by mark
Including the backend profile information detail would tend to expose data (machine and profile names) that might be sensitive and could get rather long in a nested profile situation. The machine and profile information is encoded in numbers in the m and p parameters of the url though. So in a simple case you can ignore m and use the p value to know which profile it was.

<Profile> tag in Meta Search output

Posted: Fri Oct 31, 2008 12:04 pm
by John
You could also use one of the additional fields to store the information you want about the profile to control the display.