sharepoint 2013

Debugging Search in SharePoint 2013

This is as much for me as for anybody else, but I hope visitors to this page find it useful.

Obviously, you can always try SharePoint’s standard verbose logging, but I’ve never found that to be terribly useful for search.

Debugging the Crawler

You might consider trying to use Fiddler2, the same way you would with SharePoint 2010. SharePoint Blues has a good overview on how to turn this on. The steps for 2013 will obviously be different.

Debugging Pipeline Stages

No entries yet…

Debugging Custom Pipeline Stages

No entries yet, but since they’re web services you can write on your own, debugging them shouldn’t be intractable.

Debugging the Index

There’s an interesting post on the MSDN forums that is worth a read. It indicates there is no more FIXML, and that the index is stored in a binary format. Microsoft is apparently creating a tool to inspect the index but who knows how long that might take.

Debugging Queries

SP2013 Search Tool

There’s a query tool written by somebody at Microsoft which looks quite handy and is compatible with SharePoint Online as well. Ideal when you can’t login to the server. You can get it from CodePlex. This looks very similar to the MossMan query tool in SharePoint 2013.

Use it when:

You can’t directly login to the server.

You want to see what the index knows about a specific document.

What it won’t tell you:

What specifically the query server sent back to a specific query submitted via the browser.

Developer Dashboard

There’s a suggestion in this deck by Agnes Molnar (SharePoint MVP) that you can use the developer dashboard, but there’s no more detail than that. Looks promising though, at least in a pre-production environment.

Debugging Search with SharePoint Online

  •  Look at the SP2013 Search Tool mentioned under Debugging Queries



By admin on December 1, 2012 | search, sharepoint 2013 | A comment?