dsmiley commented on a change in pull request #902: SOLR-13795: Reload solr 
core after schema is persisted.
URL: https://github.com/apache/lucene-solr/pull/902#discussion_r329056681
 
 

 ##########
 File path: solr/core/src/java/org/apache/solr/schema/SchemaManager.java
 ##########
 @@ -138,6 +138,7 @@ private List doOperations(List<CommandOperation> 
operations) throws InterruptedE
             //only for non cloud stuff
             managedIndexSchema.persistManagedSchema(false);
             core.setLatestSchema(managedIndexSchema);
+            core.getCoreContainer().reload(core.getName());
 
 Review comment:
   I suppose this does look that easy.  Please run all tests to insure we've 
not broken something.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to