I keep losing this really handy xsl for displaying the raw search result XML in SharePoint. Blogging it for future reference :).
<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>
a7ae29f3-7e88-4bfa-a5bb-9612b349bd59|1|2.0
When you upgrade to Microsoft SharePoint Server 2010, some of the new SharePoint Enterprise Search Web Parts are missing from the Web Part gallery for upgraded site collections.
The following are the missing Web Parts:
-
Refinement Panel
-
Related Queries
-
People Refinement Panel
-
Dual Chinese Search
This topic describes how you can add these Web Parts to the Web Part galleries of the upgraded site collections.
Another post about this with more detailed problem information
b6398334-85cc-4631-93d7-4e6df661b995|1|5.0
[Microsoft.SharePoint.SPSecurity]::RunWithElevatedPrivileges(
{
$site = get-spsite "http://localhost/nonfarmadminsitecollection"
}
)
$elevatedSite = new-object Microsoft.SharePoint.SPSite([Guid]$site.ID,$site.SystemAccount.UserToken)
535f4b3f-f88e-4866-a826-6c17bc283b2d|4|5.0