<?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>Search Nuggets &#187; Flow</title>
	<atom:link href="http://blog.comperiosearch.com/blog/tag/flow/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.comperiosearch.com</link>
	<description>A blog about Search as THE solution</description>
	<lastBuildDate>Mon, 13 Jun 2016 08:59:45 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>SharePoint 2013 Search internals: The Ceres shell</title>
		<link>http://blog.comperiosearch.com/blog/2013/05/08/sharepoint-2013-search-internals-the-ceres-shell/</link>
		<comments>http://blog.comperiosearch.com/blog/2013/05/08/sharepoint-2013-search-internals-the-ceres-shell/#comments</comments>
		<pubDate>Wed, 08 May 2013 14:46:11 +0000</pubDate>
		<dc:creator><![CDATA[Christoffer Vig]]></dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ceres]]></category>
		<category><![CDATA[Flow]]></category>
		<category><![CDATA[fsis]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[SharePoint 2013]]></category>

		<guid isPermaLink="false">http://blog.comperiosearch.com/?p=1414</guid>
		<description><![CDATA[SharePoint 2013 continues assimilating the FAST ESP search engine.  In FAST Search Server 2010 for SharePoint, the remains of ESP were still visible, and in part available for modification. In SharePoint 2013, you must search hard to find any mentions of FAST or ESP.  Most options for modifying the internal operations of search are locked down, much to the [...]]]></description>
				<content:encoded><![CDATA[<p>SharePoint 2013 continues assimilating the FAST ESP search engine.  In FAST Search Server 2010 for SharePoint, the remains of ESP were still visible, and in part available for modification. In SharePoint 2013, you must search hard to find any mentions of FAST or ESP.  Most options for modifying the internal operations of search are locked down, much to the chagrin of search solution developers, for whom the ability to tune and improve is bread and butter.</p>
<p>When Microsoft bought FAST, they were in the process of developing improvements to their search solution, code named Mars.  Among the improvements were graphical interfaces for the flow engines for Query (IMS) and Content Processing (CTS). These were packaged and sold As <a title="FAST Search for Internet Sites" href="http://blog.comperiosearch.com/blog/2010/11/10/fast-search-internet-sites/">FSIS, Fast Search for Internet Sites</a>. SharePoint 2013 has integrated the pipeline workflow from CTS and IMS, and is using it internally. There is, however, no (apparent) option for configuring the flows by the end user. Of course, there is no nice graphical wizards for drawing up the pipeline steps as in FSIS.</p>
<p>Buried deep down in the folders of SharePoint, there is a file called ceresshell.ps1.  Ceres is a dwarf planet circulating between Mars and Jupiter. Incidentally, we can use the Ceres shell to gain access to the configurations of the internal SharePoint flows. Once Mars was reached, the team behind SharePoint search kept on pushing into space, until they reached solid ground on the next planet, Ceres.</p>
<p>So what is the Ceres shell, and what can it do? Looking at the contents of the file, it is a powershell script that loads some snap ins.</p><pre class="crayon-plain-tag">Add-PSSnapin hostcontrollerpssnapin
Add-pssnapin junopssnapin
Add-pssnapin searchcorepssnapin
Add-pssnapin enginepssnapin
Add-pssnapin analysisenginepssnapin</pre><p>So, we start up a SharePoint powershell session as Farm administrator, and load in the Ceres shell.</p><pre class="crayon-plain-tag">PS&amp;gt; &amp;amp; &quot;C:\Program Files\Microsoft Office Servers\15.0\Search\Scripts\ceresshell.ps1&quot;</pre><p>Now the Ceres cmdlets have been loaded up and are ready to use.</p>
<p>Before we can have any fun with this, we need to connect to the “system”.</p><pre class="crayon-plain-tag">Connect-System&nbsp; -ServiceIdentity (Get-SPEnterpriseSearchService).ProcessIdentity</pre><p>Once connected to the system, we need to connect to the “engine”</p><pre class="crayon-plain-tag">Connect-Engine</pre><p>Now we are ready. To get a list of all flows available for inspection, type</p><pre class="crayon-plain-tag">Get-Flow</pre><p>To show the flow configuration for a single flow:</p><pre class="crayon-plain-tag">Get-Flow Microsoft.CrawlerIndexingSubFlow</pre><p>&nbsp;</p>
<p>Here is a part of that file</p><pre class="crayon-plain-tag">&amp;lt;OperatorGraph name=&quot;Microsoft.CrawlerIndexingSubFlow&quot; xmlns=&quot;http://schemas.microsoft.com/ceres/studio/2009/10/flow&quot;&amp;gt;

&amp;lt;Parameters /&amp;gt;

&amp;lt;Operators&amp;gt;

&amp;lt;Operator name=&quot;MarsWriter&quot; type=&quot;Microsoft.Ceres.ContentEngine.Operators.BuiltIn.MarsWriter&quot;&amp;gt;

&amp;lt;Properties&amp;gt;

&amp;lt;Property name=&quot;callbackType&quot; value=&quot;&amp;amp;quot;Completed&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;callbackWarningField&quot; value=&quot;&amp;amp;quot;ParsingErrors&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;commitInterval&quot; value=&quot;1&quot; /&amp;gt;

&amp;lt;Property name=&quot;crawledPropertyBuckets&quot; value=&quot;[&amp;amp;quot;content&amp;amp;quot;]&quot; /&amp;gt;

&amp;lt;Property name=&quot;defaultMaxIndexSize&quot; value=&quot;524288&quot; /&amp;gt;

&amp;lt;Property name=&quot;defaultMaxResultSize&quot; value=&quot;16384&quot; /&amp;gt;

&amp;lt;Property name=&quot;idField&quot; value=&quot;&amp;amp;quot;externalId&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;managedPropertiesListName&quot; value=&quot;&amp;amp;quot;ManagedProperties&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;managedPropertyBuckets&quot; value=&quot;[&amp;amp;quot;ManagedPropertiesBucket&amp;amp;quot;]&quot; /&amp;gt;

&amp;lt;Property name=&quot;marsCallbackInfoProperty&quot; value=&quot;&amp;amp;quot;marsLinkDBSynchronization&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;provideCallbacks&quot; value=&quot;True&quot; /&amp;gt;

&amp;lt;Property name=&quot;siteCollectionIdField&quot; value=&quot;&amp;amp;quot;sitecollectionid&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;tenantIdField&quot; value=&quot;&amp;amp;quot;tenantId&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;Property name=&quot;truncatedFlagField&quot; value=&quot;&amp;amp;quot;IsPartiallyProcessed&amp;amp;quot;&quot; /&amp;gt;

&amp;lt;/Properties&amp;gt;

&amp;lt;/Operator&amp;gt;

&amp;lt;Operator name=&quot;SubFlowInput&quot; type=&quot;Microsoft.Ceres.ContentEngine.Operators.BuiltIn.SubFlow.SubFlowInput&quot;&amp;gt;

&amp;lt;Targets&amp;gt;

&amp;lt;Target&amp;gt;

&amp;lt;operatorMoniker name=&quot;/Microsoft.CrawlerIndexingSubFlow/MarsWriter&quot; /&amp;gt;</pre><p>Interesting, isn&#8217;t it? There seems to be some configurable values for stuff like &#8220;defaultMaxResultSize&#8221;.</p>
<p>Now you see how you can open the Ceres shell, and look at the flow configurations.</p>
<p>Next post will show you how you can modify values in the existing flows.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.comperiosearch.com/blog/2013/05/08/sharepoint-2013-search-internals-the-ceres-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
