<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Search on Matt Thornton</title>
    <link>http://localhost:1313/tags/search/</link>
    <description>Recent content in Search on Matt Thornton</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Wed, 17 Jan 2018 11:58:09 +0000</lastBuildDate><atom:link href="http://localhost:1313/tags/search/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>SharePoint Search Service Application recovery &#43; WCF Endpoint</title>
      <link>http://localhost:1313/tech/sharepoint-search-service-application-recovery-wcf-endpoint/</link>
      <pubDate>Wed, 17 Jan 2018 11:58:09 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/sharepoint-search-service-application-recovery-wcf-endpoint/</guid>
      
        <description>&lt;p&gt;I recently had some fun and games trying to fix a broken SharePoint Search Service Application. Although I&amp;rsquo;m not entirely what caused the issue (other than, you know, SharePoint) although it may be to do with changing the &lt;a href=&#34;https://www.matt-thornton.net/tech/sharepoint/sharepoint-passphrase-recovery&#34;&gt;Farm Passphrase&lt;/a&gt; but one way or another it was, fooked.&lt;/p&gt;
&lt;p&gt;I opted to just delete it and create a new one. This didn&amp;rsquo;t go well. A new application was created, but it, also, was dead.&lt;/p&gt;
&lt;p&gt;As many people have found, Central Admin and Remove-SPServiceApplication have a habit of doing entirely nothing when it comes to remove broken Search Applications.&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>SharePoint 2010 &#43; Search within document sets</title>
      <link>http://localhost:1313/tech/sharepoint/sharepoint-2010-search-within-document-sets/</link>
      <pubDate>Mon, 05 Mar 2012 15:15:43 +0000</pubDate>
      
      <guid>http://localhost:1313/tech/sharepoint/sharepoint-2010-search-within-document-sets/</guid>
      
        <description>&lt;p&gt;I could play a game of “state the obvious” and say that SharePoint 2010 search is powerful. It&amp;rsquo;s really an incredible beast - and that&amp;rsquo;s even without any FAST goodies in there. But something that isn&amp;rsquo;t obviously supported OOTB but seems there&amp;rsquo;s a few people out there trying to do - search &lt;strong&gt;within&lt;/strong&gt; folders, or in my case, Document Sets. SharePoint search was already configured and, actually, I &lt;em&gt;could&lt;/em&gt; search within document sets, by doing a site wide search and then using the refinement panel (on the left hand side of a search result page in a search center) to narrow it down to my document set. What I wanted to do was perform this search directly from a search box.&lt;/p&gt;
&lt;p&gt;As you use the refinement panel, you&amp;rsquo;ll notice that the URL changes, as you stack up the filters, and as it happens, that&amp;rsquo;s all that&amp;rsquo;s required is a properly crafted URL:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;br /&amp;gt; http://yoursite/_layouts/OssSearchResults.aspx?k=[searchterms] &amp;lt;strong&amp;gt;site:&amp;quot;http://yoursite/yourlibrary/yourdocset&amp;quot;&amp;lt;/strong&amp;gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Note the highlighted part - you can restrict your search results to a specified document set (or folder) by supplying the URL in to the &lt;strong&gt;site:&lt;/strong&gt; refinement option/filter.&lt;/p&gt;
&lt;p&gt;With that bit taken care of, the challenge was to get a searchbox that would do this dynamically - i.e., craft the URL properly to apply the filter and direct through to the search results page properly. It&amp;rsquo;s possible using a standard search box and the trusty old Content Editor.&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>