Changeset 29355 for gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/SolrSearch.java
- Timestamp:
- 2014-10-08T20:18:48+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/solr/trunk/src/src/java/org/greenstone/gsdl3/service/SolrSearch.java
r29142 r29355 79 79 solr_server.clear(); 80 80 81 // 2. Need GS3 server (tomcat) to release the cores, else a part of tomcat is still running in the background 82 // on ant stop, holding a lock on the cores. Doing shutdown() preserves core descriptions in solr.xml 83 solr_cores.shutdown(); 84 solr_cores = null; 85 86 // For solr 3.3.0's jetty server, but not for solr 4.7.2's jetty server 87 /* 81 88 // 2. Remove all SolrCores in the CoreContainer (solr_cores) that are specific to this collection 82 89 String collection_core_name_prefix = getCollectionCoreNamePrefix(); … … 123 130 } 124 131 } 125 132 */ 126 133 } 127 134 … … 146 153 File solr_xml = new File( solr_home,"solr.xml" ); 147 154 148 //solr_cores.load(solr_home_str,solr_xml); 155 //solr_cores.load(solr_home_str,solr_xml); 149 156 solr_cores.load(); 150 157 } catch (Exception e) {
Note:
See TracChangeset
for help on using the changeset viewer.