Viewing Indexed Azure Search Content in Sitecore XP 8.2 PaaS
May 9, 2017
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:
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”:
With Search explorer open, select the index you wish to view. With regards to this post, we are focused on a custom search 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”.
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.
Stay up to date with our email updates!
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!