Monthly Archives: December 2013

Using The SharePoint 2013 Search Query Tool With Search Refiners

The SharePoint 2013 Search Query Tool can be used to query, test and debug, both SharePoint 2013 on-premise and SharePoint online search queries.  It’s available free from CodePlex here.  In this post I’ll show how you can use the tool to view a document’s refineable properties within SharePoint 2013 search.

For the purpose of this post I’ve uploaded a pdf to a SharePoint document library and applied a metadata value using a column called Document Type.

SearchTool1

I’ve configured the property to be refineable and it’s visible on the search results page through a managed property called DocumentType. To find out how to do this, see my post here.

SearchTool2

The SharePoint 2013 Search Query Tool is useful when you need to see what values are held within the search index.  Open the tool and enter a search term in the Query Text box.  Next, click the push pin next to Select Properties.  The Path, Url, Title and Author properties will be automatically added.  To show values for DocumentType managed property I added “,DocumentType” to the list (values are comma delimited).  Click Run to execute the query, then open the Primary Results tab.  For my test document you can see that DocumentType values are now displayed.

SearchTool3

Advertisements