SharePoint Server 2016 IT Preview Search – A First Look Under the Hood

Nicki Borell

by Nicki Borell on 9/9/2015

Share this:
Print

Article Details

Date Revised:
9/9/2015

Applies to:
cloud hybrid search, Get-SPEnterpriseSearchServiceApplication, PowerShell cmdlets, SharePoint Server 2016


PowerShell for SharePoint Search

Installing and configuration using PowerShell works similar to SharePoint 2013. You can use the same cmdlets and scripts that you used in SharePoint 2013.

Even if you have not created a Cloud SSA as part of Cloud Hybrid Search Preview for SharePoint Server 2013 and 2016, you can find cloud and hybrid topics everywhere.

For example, I saw some new parameters within Get-SPEnterpriseSearchServiceApplication:

$sa = Get-SPEnterpriseSearchServiceApplication
$sa.CloudIndex

SharePoint Server 2016 may have a Get-SPEnterpriseSearchServiceApplication CloudIndex parameter

$sa = Get-SPEnterpriseSearchServiceApplication
$sa.QueryGraph

SharePoint Server 2016 may have a Get-SPEnterpriseSearchServiceApplication QueryGraph parameter

If we have a look at the search topology, you’ll see some interesting information. For example, for every component there is a status information called “ExperimentalComponent.” This can help you determine whether “Cloud Hybrid Search Preview for SharePoint Server 2013 and 2016” is configured or not.

In SharePoint Server 2016, a Get-SPEnterpriseSearchComponent-SearchTopology reveals a status information called ExperimentalComponent

SharePoint 2016 BETA Ceres – a first look

The Ceres shell is:

  • A set of PowerShell cmdlets
  • It allows you to control the internal workings of SharePoint Server search.
  • It has taken over from the FAST search engine
  • Modifying the settings can completely crash SharePoint Search
  • It has been part of SharePoint since SharePoint 2013

Manipulations are not for production use, nor supported by Microsoft – but it can get us a better understanding of what is going on under the hood. If you are interested in further information about the Ceres have a look here: SharePoint 2013 Search internals: The Ceres shell.

Before we can use the cmdlets, we need to set up PowerShell and connect to the Ceres:

cd "C:\Program Files\Microsoft Office Servers\16.0\Search\Scripts\"
.\ceresshell.ps1
Connect-System –Uri (Get-SPEnterpriseSearchServiceApplication).SystemManagerLocations[0] -ServiceIdentity (Get-SPEnterpriseSearchService).ProcessIdentity
Connect-Engine
Connect-AnalysisEngine -NodeName AdminComponent1

To get an overview of all available cmdlets, use this:

Get-Command -Module analysisenginepssnapin

Comparing this overview to SharePoint 2013, we see new commands:

  • Get-AnalysisEngineIsPaused
  • Get-AnalysisEngineWorker
  • Register-Analysis
  • Unregister-Analysis

A few of the new SharePoint Server 2016 commands

At this time, no further information or documentation is available for these new cmdlets.

Using the get-analysis cmdlet we get an overview of all Analytics components: SearchAnalytics, UsageAnalytics and SearchReports. If you are interested in further information about the Analytics components in SharePoint 2013, have a look here: PowerShell for SharePoint 2013 Analytics Feature

In SharePoint 2016 BETA, we have a new Analytics component called “LinksStoreInput”

Get-Analysis LinksStoreInput in SharePoint Server 2016

This new component also results in a new subfolder within the Office Server Analytics directory:

In SharePoint Server 2016 a subdirectory for LinksStoreInput appears in the Office Server Analytics directory

At this time, no further information or documentation is available about this new component. Based on the name we only can guess what it is doing.

Get-Flow

Get-flow is about the definition of “what” is happening in the Search internals. Manipulations are not for production use, nor supported by Microsoft. The Content Enrichment Web Service is the primary documented and supported mechanism for implementing “custom” processing logic in SharePoint Search – but, it can get us a better understanding of what is going on under the hood and what is new in SharePoint 2016 Search.

Using the get-flow cmdlet results in an overview showing all flows.

In SharePoint 2016 BETA, the following FLOWS are new:

  • Microsoft.ContentPushFlow
  • Microsoft.ContentPushHybridFlow
  • Microsoft.ConversationalLatencyFlow
  • Microsoft.PropertyRetrievalSearchFlow
  • Microsoft.SearchAnalyticsBuzzFeederFlow
  • Microsoft.SearchAnalyticsBuzzInputFlow
  • Microsoft.SearchAnalyticsBuzzImportFlow
  • Microsoft.SearchAnalyticsBuzzOutputFlow
  • Microsoft.SearchAnalyticsExternalContentMapFlow
  • Microsoft.SearchAnalyticsExternalContentPushFlow
  • Microsoft.SearchAnalyticsFollowsImportFlow
  • Microsoft.SearchAnalyticsFollowsInputFlow
  • Microsoft.SearchAnalyticsGraphIndexFeederFlow
  • Microsoft.SearchAnalyticsInFeedInputFlow
  • Microsoft.SearchAnalyticsTagsImportFlow
  • Microsoft.SearchAnalyticsTagsInputFlow
  • Microsoft.SignalStoreInputFlow
  • Microsoft.UsageAnalyticsImportFlow
  • Microsoft.DocumentPreviewMetadataFeederFlow
  • Microsoft.PeopleSuggestionDictionaryDeploymentFlow
  • Microsoft.QueryCompletionPeopleOutputFlow
  • Microsoft.QueryCompletionPersonalizedQueryLogsOutputFlow
  • Microsoft.QueryCompletionPreFetchOutputFlow
  • Microsoft.QueryCompletionQueryLogsInputFlow
  • Microsoft.QueryCompletionQueryLogsOutputFlow
  • Microsoft.CrawlerPropertyReportingSubFlow
  • Microsoft.CrawlerSecurityInsertHybridSubFlow
  • Microsoft.ExplorerFlow
  • Microsoft.GraphSearchProviderFlow
  • Microsoft.QuerySuggestionsQueryLogsFlow
  • Microsoft.DeleteTenantFromIndexSystemFlow
  • Microsoft.IndexingSubFlow
  • Microsoft.DataLossPreventionSubFlow

This can give us an overview of what has changed and what is new in SharePoint 2016 Search. The main topics based on this get-flow list are:

  • Content Push
  • External Content Push
  • Graph Index Feeder
  • Graph Search Provider
  • Signal Store Input Flow
  • Crawler Security Insert Hybrid Flow
  • Data Loss Prevention

If you are interested in a deeper look in what’s going on in a flow, you can use this cmdlet:

get-flow %flow name%

Roundup

Cloud-awareness can be found everywhere in SharePoint 2016 Search, even if you have not configured Cloud SSA.

New features in SharePoint 2016 Search will be:

  • Content Push
  • External Content Push
  • Office Graph interactions
  • Hybrid Crawler
  • Data Loss Prevention support
You can find Nicki’s original blog post of this article here: http://www.sharepointtalk.net/2015/09/sharepoint-2016-beta-search-first-look.html

Topic: Search

Sign in with

Or register