Add extra result types and properties to the advanced search page

Step 1

First open the advanced search page.
This page can be found at <sitecollection>/search/advanced.aspx Result types 1

Step 2

Edit the page

Result types 2

Step 3

Edit the webpart

Result types 3

Step 4

Open the builder window to edit properties

Result types 4

Step 5

Once in the builder window, select all contents by hitting CTRL-A and copy it with CRTL-C Result types 5

Step 6

Open Visual Studio (or any other editor) and create a new XML file. We are not going to save this file but pasting it into visual studio formats the text so it is outlined properly. Result types 6

Step 7

Remove the default header. (CTRL-A and DEL)

Result types 7

Step 8

And paste the XML from the webpart Result types 8

Looks much better doesn’t it?

Step 9

First we’ll create a new ResultType Select the “Documents” ResultType. Copy and past it at the end of the ResultTypes section.

Result types 9

Step 10

Rename “Documents”. In this case we are going to use “Manuscripts” Result types 10

Step 11

Next we’ll create a new property definition Result types 11

Step 12

Add the new Property Definition to the new ResultType Result types 12

Step 13

Copy all text and paste it back into the Builder window in SharePoint Result types 13 And click OK

Step 14

Click OK to save the changes to the Webpart and save the page.

Result types 14

Don’t forget to check in and publish the page.

Et voila!

Result types 15

SharePoint 2013 Crawl job will not stop

When you are unable to stop a crawl (full or incremental) using the central admin, you can try these additional steps.

  1. Stop and start the SharePoint Server Search 15 service
    1. Do this by going into services.msc (Hit Windows, R and type services.msc)
    2. Find the service and hit restart
  2. Run this powershell script on your SharePoint server

Add-PSSnapin "Microsoft.SharePoint.PowerShell"

Get-SPEnterpriseSearchCrawlContentSource -SearchApplication "Search Service App" | ForEach-Object {
if ($.CrawlStatus -ne "Idle")
Write-Host "Stopping currently running crawl for content source $($
do { Start-Sleep -Seconds 1 }
while ($
.CrawlStatus -ne "Idle")
Write-Host "Starting full crawl for content source $($.Name)..."

This should get things going again. ​