Paul, to group the results by pages and docs u can use 'isdocument' that exist by default in the returns columns.
What I need is to group the results by scopes which does not exist in the XML. My work around is to run some code after the search crawl and execute search for each scope and than update an invisible column in every result with the current scope. In the results XML I can add the invisible column of the scope. On Thu, Sep 18, 2008 at 12:52 AM, Paul Noone < [EMAIL PROTECTED]> wrote: > Meir, are you trying to return results in groups – e.g. Pages and then > documents? > > > > If so, I would be very interested to see a result as we are trying to do > the same thing. > > > > Does anyone know if Pages can be separated from documents or given higher > priority so that they appear first? Can they be set as a scope?? > > > > As you have discovered, the XSL reveals very little. > > > > Regards, > > Paul > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf > Of *Meir Dahan > *Sent:* Wednesday, 17 September 2008 5:16 PM > *To:* [email protected] > *Subject:* Re: [OzMOSS] How to group the search results by scope in > CoreSearchResults ? > > > > I already try this and of course the scope column does not exist in the > results XML. > > Is there a work around to solve this problem without using c# code to > execute the search for each scope separately? > > On Wed, Sep 17, 2008 at 2:22 AM, Darren Neimke <[EMAIL PROTECTED]> > wrote: > > I'm not sure that the 'out of the box' Search Result data returns the scope > in its result list? If you change the XSLT for the Search Result Web Part > to the following (Make sure that you save the old XSLT before you make this > change so that you can change it back afterwards J): > > > > <?xml version="1.0" encoding="UTF-8"?> > > <xsl:stylesheet version="1.0" xmlns:xsl=" > http://www.w3.org/1999/XSL/Transform"> > > <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> > > <xsl:template match="/"> > > <xmp><xsl:copy-of select="*"/></xmp> > > </xsl:template> > > </xsl:stylesheet> > > > > And then run a Search, you should see what XML you have to deal with. If > the scope field is in there, then you are in business. > > > > > > Kind Regards, > > Darren Neimke > [EMAIL PROTECTED] > > blog: http://neimke.spaces.live.com<http://showusyourcode.spaces.live.com/> > twitter: http://twitter.com/digory > mob: 0439 855 046 > > > > *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf > Of *Meir Dahan > *Sent:* Tuesday, 16 September 2008 9:27 PM > *To:* [email protected] > *Subject:* [OzMOSS] How to group the search results by scope in > CoreSearchResults ? > > > > Using xsl. > > -- > Meir Dahan > Mobile: +972-52-8316814 > Email: [EMAIL PROTECTED] > > ------------------------------------------------------------------- > OzMOSS.com - to unsubscribe from this list, send a message back to the list > with 'unsubscribe' as the subject. > Powered by mailenable.com > > ------------------------------------------------------------------- > OzMOSS.com - to unsubscribe from this list, send a message back to the list > with 'unsubscribe' as the subject. > Powered by mailenable.com > > > > > -- > Meir Dahan > Mobile: +972-52-8316814 > Email: [EMAIL PROTECTED] > > ------------------------------------------------------------------- > OzMOSS.com - to unsubscribe from this list, send a message back to the list > with 'unsubscribe' as the subject. > Powered by mailenable.com > -- Meir Dahan Mobile: +972-52-8316814 Email: [EMAIL PROTECTED] ;3I'(��.�˛���m���ka��b���֦z����rKh����p��n�˛���m欶����r�����u��j)^���y�&
