Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@using System.Reflection
@using Sitecore.ContentSearch
@using Sitecore.ContentSearch.SolrProvider
@using Sitecore.ContentSearch.SolrProvider.Agents
Solr Status: @SolrStatus.OkSolrStatus()
<br />
Solr Last Status: @typeof(IndexingStateSwitcher).GetField("lastSolrConnectionStatus", BindingFlags.NonPublic | BindingFlags.Static | BindingFlags.Instance | BindingFlags.FlattenHierarchy).GetValue(null)
<br />
Solr Indexes
@foreach (AbstractSearchIndex index in ContentSearchManager.Indexes)
@if (!index.IsInitialized)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment