diff --git a/solr/core/src/java/org/apache/solr/core/SolrCore.java b/solr/core/src/java/org/apache/solr/core/SolrCore.java index 4c3d09980ca..354f5465ca3 100644 --- a/solr/core/src/java/org/apache/solr/core/SolrCore.java +++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java @@ -2228,6 +2228,8 @@ public RefCounted getNewestSearcher(boolean openNew) { * reference count will be incremented. */ public RefCounted getRealtimeSearcher() { + // In practice, this is nearly always the same as the non-realtime searcher because that one + // nearly always exists and it installs itself as the realtime searcher. synchronized (searcherLock) { if (realtimeSearcher != null) { realtimeSearcher.incref();