Building Custom Display Templates for OpenSearch Content

One of the less-used features of SharePoint Search (2013 or SPO) is the ability to federate to non-SharePoint sources that support the OpenSearch 1.1 protocol. Moreover, there isn’t a lot of documentation out there about what to do with those results once you have them or how to format them to fit in with the…

2

How to find all managed properties of a document

When working with SharePoint search it is often helpful to figure out all of the managed properties that are populated for a given set of documents. With SharePoint 2013 on premise, you can use the Content Enrichment Web Service (CEWS) and its debug mode to get at (almost) all of the managed properties for a…


Updating SP2013 refiners using PowerShell

In SharePoint 2010, changes to the refiners were made using the the FilterCategoriesDefinition property of the refiners web part which held an XML blob.  In SharePoint 2013 we instead do this using the SelectedRefinementControlsJson property.  As the name implies, the configuration is now in JSON format.  Conveniently PowerShell 3.0 now includes the ConvertTo- and ConvertFrom-Json…


Creating Result Sources using PowerShell

This post describes how to create a search result source using PowerShell. The GUI is easy enough but scripting is optimal as you promote configurations across environments. I was compelled to write this post because I’ve found a few posts out on the internet that don’t appear to be correct. As a pre-requisite, the user…

3

Super Simple BCS WCF Service Implementation

This post will describe how to create a very simple BCS WCF implementation that can serve as a good starting point for creating a BCS implementation that is tuned for use as a search content source with SharePoint 2013. Download the SimpleService solution and unzip it. Open Visual Studio 2012 as Administrator (administrator is needed…


How to throttle a BCS crawl

Throttling a BCS crawl is done the same way as other SharePoint crawls, using crawler impact rules. The main trick is figure out what site name to use.  The most precise way is to use a combination of the LobSystem name and the LobSystemInstance name.  In my case it was “recipeslob_recipesinst” :   An alternative…


Mucking with search summaries in SP2013

For a project I’m working on I needed to add some redaction to the hit highlighting summaries of the search results.   If I see anything that looks like a social security number, then replace the first five digits with asterisks. At first this looked somewhat daunting because looking in the item templates, all the action…


SharePoint 2013 and Search Service PerformanceLevel

Just a quick note…  Set-SPEnterpriseSearchService still has the PerformanceLevel option in SP2013, but apart from the crawler component it doesn’t do anything.  And in practice changing from Maximum (the default) to Partly Reduced won’t achieve much throttling anyway.  Best just leave it at Maximum.