Revision 7771
Added by Jing Tao over 11 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/MetacatIndexServlet.java | ||
---|---|---|
67 | 67 |
//System.out.println("++++++++++++++++++++++++------------------- start the servlet"); |
68 | 68 |
|
69 | 69 |
initializeSharedConfiguration(config); |
70 |
boolean isSolrEnabled = true; |
|
70 |
/*boolean isSolrEnabled = true;
|
|
71 | 71 |
try { |
72 | 72 |
isSolrEnabled = EnabledQueryEngines.getInstance().isEnabled(EnabledQueryEngines.SOLRENGINE); |
73 | 73 |
} catch (Exception e) { |
... | ... | |
76 | 76 |
//if the solr query engine is disabled, we stop here. |
77 | 77 |
if(!isSolrEnabled) { |
78 | 78 |
return; |
79 |
} |
|
79 |
}*/
|
|
80 | 80 |
// initialize the application using the configured application-context |
81 | 81 |
URL url = getClass().getResource("/index-processor-context.xml"); |
82 | 82 |
//System.out.println("the url is "+url); |
Also available in: Unified diff
Temporarily remove the code to disable solr engine if it isn't listed in the property file.