<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FAST Search Archives - Blog IT</title>
	<atom:link href="https://blogit.create.pt/category/search/fast-search/feed/" rel="self" type="application/rss+xml" />
	<link>https://blogit.create.pt/category/search/fast-search/</link>
	<description>Create IT blogger community</description>
	<lastBuildDate>Thu, 10 Jan 2019 12:46:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Querying SharePoint Search from PowerShell</title>
		<link>https://blogit.create.pt/andrevala/2014/12/11/querying-sharepoint-search-from-powershell/</link>
					<comments>https://blogit.create.pt/andrevala/2014/12/11/querying-sharepoint-search-from-powershell/#comments</comments>
		
		<dc:creator><![CDATA[André Vala]]></dc:creator>
		<pubDate>Thu, 11 Dec 2014 15:32:13 +0000</pubDate>
				<category><![CDATA[FAST Search]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogit.create.pt/andrevala/?p=1791</guid>

					<description><![CDATA[<p>FAST Search for SharePoint 2010 (FS4SP) is a really powerful, flexible and scalable enterprise search engine. However, when compared with the search landscape in SharePoint 2013, it feels like a separate product, an add-on to SharePoint 2010 that gives you a more powerful alternative to the out-of-the-box search engine. When using FS4SP in a production [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2014/12/11/querying-sharepoint-search-from-powershell/">Querying SharePoint Search from PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>FAST Search for SharePoint 2010</strong> (FS4SP) is a really powerful, flexible and scalable enterprise search engine. However, when compared with the search landscape in SharePoint 2013, it feels like a separate product, an add-on to SharePoint 2010 that gives you a more powerful alternative to the out-of-the-box search engine.</p>
<p>When using FS4SP in a production environment, you need a separate farm just for FAST. That is, you need a set of servers where you install FS4SP and then you connect that FAST farm to a SharePoint farm, by means of two Search Service Applications. These FAST servers don’t have SharePoint installed on them and they have their own PowerShell snap-in that allows you to perform a whole bunch of administration tasks on FS4SP. </p>
<p>Suppose you want to query your search index, for testing or maintenance purposes, in PowerShell. The easiest solution would be to open your SharePoint 2010 Administration PowerShell console, and use the Server Side Object Model to create a new <code>KeywordQuery</code> object and invoke the <code>Execute</code> method on it. You can find many blog posts that teach how to do this. Here’s <a href="http://www.sharingminds.com.au/Blog/Post/21/Searching-SharePoint-with-PowerShell" target="_blank">one example</a>. If, for some reason, you need to run that PowerShell script from one of the FAST servers it won’t work because these servers don’t have SharePoint installed and are not part of the SharePoint farm, hence you can’t use the Server Object Model.</p>
<p>In this case, you’ll need to use the search web service, which can be called from any server as long as it can communicate with the SharePoint farm. The script below shows how you can do this.</p>
<p><code><strong>$WebApplicationURL</strong> = <font color="#c0504d">"http://myserver:9999"</font><br /><strong>$SearchServiceURL</strong> = <font color="#c0504d">"/_vti_bin/search.asmx"</font></p>
<p><font color="#008000"># Create a proxy to call the search web service</font><br /><strong>$SearchWS</strong> = New-WebServiceProxy -Uri (<strong>$WebApplicationURL</strong> + <strong>$SearchServiceURL</strong>) -UseDefaultCredential</p>
<p><font color="#008000"># Build the query XML. You can use FQL or KQL.</font><br /><strong>$queryXml</strong> = <font color="#666666">@"<br />&lt;QueryPacket Revision="1000"&gt;<br />&nbsp; &lt;Query&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Context&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;QueryText language="en-US" type="FQL"&gt;SharePoint&lt;/QueryText&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Context&gt;<br />&nbsp;&nbsp;&nbsp; &lt;SupportedFormats Format="urn:Microsoft.Search.Response.Document.Document" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;ResultProvider&gt;FASTSearch&lt;/ResultProvider&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Range&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StartAt&gt;1&lt;/StartAt&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Count&gt;100&lt;/Count&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Range&gt;<br />&nbsp;&nbsp;&nbsp; &lt;EnableStemming&gt;On&lt;/EnableStemming&gt;<br />&nbsp;&nbsp;&nbsp; &lt;EnableSpellCheck&gt;Off&lt;/EnableSpellCheck&gt;<br />&nbsp;&nbsp;&nbsp; &lt;IncludeSpecialTermsResults&gt;true&lt;/IncludeSpecialTermsResults&gt;<br />&nbsp;&nbsp;&nbsp; &lt;IncludeRelevantResults&gt;true&lt;/IncludeRelevantResults&gt;<br />&nbsp;&nbsp;&nbsp; &lt;ImplicitAndBehavior&gt;true&lt;/ImplicitAndBehavior&gt;<br />&nbsp;&nbsp;&nbsp; &lt;TrimDuplicates&gt;true&lt;/TrimDuplicates&gt;<br />&nbsp;&nbsp;&nbsp; &lt;Properties&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name="Rank" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name="Title" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name="Author" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name="Write" /&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property name="Path" /&gt;<br />&nbsp;&nbsp;&nbsp; &lt;/Properties&gt;<br />&nbsp; &lt;/Query&gt;<br />&lt;/QueryPacket&gt;<br />"@</font></p>
<p><font color="#008000"># call the web service</font><br /><strong>$results</strong> = <strong>$SearchWS</strong>.QueryEx(<strong>$queryXml</strong>)</p>
<p><font color="#008000"># process the results</font><br />if (<strong>$results</strong> -ne <strong>$null</strong> -And <strong>$results</strong>.Tables[<font color="#c0504d">"RelevantResults"</font>] -ne <strong>$null</strong>)<br />{<br />&nbsp;&nbsp;&nbsp; <font color="#008000"># check the result count (this page) and the total result count (all pages)</font><br />&nbsp;&nbsp;&nbsp; <strong>$resultCount</strong> = <strong>$results</strong>.Tables[<font color="#c0504d">"RelevantResults"</font>].Rows.Count<br />&nbsp;&nbsp;&nbsp; <strong>$totalCount</strong> = <strong>$results</strong>.Tables[<font color="#c0504d">"RelevantResults"</font>].ExtendedProperties[<font color="#c0504d">"TotalRows"</font>]<br />&nbsp;&nbsp;&nbsp; Write-Host <font color="#c0504d">"</font><font color="#c0504d">Retrieved $resultCount (from a total of $totalCount) results."</font><br />&nbsp;&nbsp;&nbsp; <br />&nbsp;&nbsp;&nbsp; <font color="#008000"># write the title of each result in the console window</font><br />&nbsp;&nbsp;&nbsp; foreach (<strong>$row</strong> in <strong>$results</strong>.Tables[<font color="#c0504d">"RelevantResults"</font>].Rows)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Write-Host <strong>$row</strong>[<font color="#c0504d">"Title"</font>]<br />&nbsp;&nbsp;&nbsp;&nbsp; }<br />}</code></p>
<p>The post <a href="https://blogit.create.pt/andrevala/2014/12/11/querying-sharepoint-search-from-powershell/">Querying SharePoint Search from PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/andrevala/2014/12/11/querying-sharepoint-search-from-powershell/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>FAST Search Tip #1: Enabling Stemming in PowerShell</title>
		<link>https://blogit.create.pt/andrevala/2012/04/25/fast-search-tip-1-enabling-stemming-in-powershell/</link>
					<comments>https://blogit.create.pt/andrevala/2012/04/25/fast-search-tip-1-enabling-stemming-in-powershell/#respond</comments>
		
		<dc:creator><![CDATA[André Vala]]></dc:creator>
		<pubDate>Wed, 25 Apr 2012 07:15:31 +0000</pubDate>
				<category><![CDATA[FAST Search]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[SharePoint]]></category>
		<guid isPermaLink="false">http://blogcreate.azurewebsites.net/andrevala/?p=201</guid>

					<description><![CDATA[<p>Recently, I’ve been working with FAST Search for SharePoint 2010 and, although it’s a great search platform with pretty impressive features, I believe there are still too many manual installation and configurations steps, and too many of those features are only accessible through PowerShell. Don’t get me wrong, PowerShell is great and, by far, the [&#8230;]</p>
<p>The post <a href="https://blogit.create.pt/andrevala/2012/04/25/fast-search-tip-1-enabling-stemming-in-powershell/">FAST Search Tip #1: Enabling Stemming in PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Recently, I’ve been working with <strong>FAST Search for SharePoint 2010</strong> and, although it’s a great search platform with pretty impressive features, I believe there are still too many manual installation and configurations steps, and too many of those features are only accessible through PowerShell. Don’t get me wrong, PowerShell is great and, by far, the best way to deploy your solution to the client’s environment, but a little more graphical UI wouldn’t hurt.</p>
<p>According to FAST Search’s <a href="http://technet.microsoft.com/en-us/library/ff393811.aspx" target="_blank">TechNet documentation</a>, you can use the <strong>Set-FASTSearchMetadataManagedProperty</strong> cmdlet to configure the main settings of a managed property. Among other things, you can enable stemming for a specific managed property. Here’s how it’s done:</p>
<p><code>$title = Get-FASTSearchMetadataManagedProperty –Name title      <br />Set-FASTSearchMetadataManagedProperty –ManagedProperty $title –StemmingEnabled $true</code></p>
<p>The problem is that this doesn’t work. The <strong>StemmingEnabled</strong> argument is actually ignored by the cmdlet so, we need to use a different approach. This is the right way:</p>
<p><code>$title = Get-FASTSearchMetadataManagedProperty –Name title      <br />$title.StemmingEnabled = 1       <br />$title.update()</code></p>
<p>Although Microsoft is yet to update TechNet’s documentation, it has published a support article in its knowledge base (<a href="http://support.microsoft.com/kb/2468430" target="_blank">KB2468430</a>) which describes this very solution. </p>
<p>The post <a href="https://blogit.create.pt/andrevala/2012/04/25/fast-search-tip-1-enabling-stemming-in-powershell/">FAST Search Tip #1: Enabling Stemming in PowerShell</a> appeared first on <a href="https://blogit.create.pt">Blog IT</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blogit.create.pt/andrevala/2012/04/25/fast-search-tip-1-enabling-stemming-in-powershell/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
