Viewing Indexed Azure Search Content in Sitecore XP 8.2 PaaS

May 9, 2017

Blog | Development | Viewing Indexed Azure Search Content in Sitecore XP 8.2 PaaS
Viewing Indexed Azure Search Content in Sitecore XP 8.2 PaaS

Lucene has Luke.  SOLR has a full SOLR admin.  Azure Search has the Azure Portal and Search Explorer.  Viewing indexed content is a pivotal requirement for development.  Is a field null?  Is it stored as expected?  Is my content being indexed?  These questions and more can be answered by viewing the contents of the index.

To find indexed content in Azure, login to the portal, and find All resources:

Azure Resources

Sort by Type, and find the appropriate service of type “Search service”.  Select the hyperlink to the resource.  The administration blade will appear.  Among the many options is a link to “Search explorer”:

Search Explorer

With Search explorer open, select the index you wish to view.  With regards to this post, we are focused on a custom search index:

Change Index

With the proper index selected, you can simply click “Search” to view all indexed content in a JSON format.  To narrow down results, all Azure operators can be used.  Such as: database_1: master + fullpath_1: “page 9”.  This returns all documents in the master database with a full path that contains “page 9”.

Specific Query

 

Once configured, Azure Search will operate like any of the other providers as it incorporates the Content Search API.  Existing update strategies can be leveraged as needed depending on requirements.  Indexes can be rebuilt via the Control Panel Indexing Manager.

Keep in mind that Azure Search does not encompass the full Content Search API as Lucene does.  A full feature support reference can be found here.

John Rappel

Technical Lead
Tags
  • Azure
  • Sitecore
Sitecore Survival Guide Volume 1

If you found this post helpful, there are plenty more where it came from! You'll find the first 10 here.

Download the first 10 posts in our Sitecore how-to series by Developer Tim Leverett!

Recent Work

Check out what else we've been working on