You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/11 00:18:56 UTC
[lucene-solr] branch reference_impl_dev updated: @486 Relax check.
This is an automated email from the ASF dual-hosted git repository.
markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/reference_impl_dev by this push:
new ed08dde @486 Relax check.
ed08dde is described below
commit ed08dde269d7844e12232b6bf4f500e0c495578e
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Aug 10 19:18:23 2020 -0500
@486 Relax check.
---
solr/core/src/java/org/apache/solr/core/SolrCore.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 02b75ca..67edfa5 100644
--- a/solr/core/src/java/org/apache/solr/core/SolrCore.java
+++ b/solr/core/src/java/org/apache/solr/core/SolrCore.java
@@ -2155,7 +2155,7 @@ public final class SolrCore implements SolrInfoBean, Closeable {
// (caches take a little while to instantiate)
final boolean useCaches = !realtime;
final String newName = realtime ? "realtime" : "main";
- if (isClosed() || (getCoreContainer() != null && getCoreContainer().isShutDown())) { // if we start new searchers after close we won't close them
+ if (isClosed()) { // if we start new searchers after close we won't close them
throw new SolrCoreState.CoreIsClosedException();
}
tmp = new SolrIndexSearcher(this, newIndexDir, getLatestSchema(), newName,