mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-10-04 01:48:55 +03:00
this assert does not work because of the 9_0_0 solr version format.
An 9_0 is expected but it does not work this way with this version.
This commit is contained in:
parent
accf4e424b
commit
687820788d
@ -163,7 +163,7 @@ public final class Fulltext {
|
||||
final EmbeddedInstance localCollectionInstance = new EmbeddedInstance(new File(new File(Switchboard.getSwitchboard().appPath, "defaults"), "solr"), solrLocation, CollectionSchema.CORE_NAME, new String[]{CollectionSchema.CORE_NAME, WebgraphSchema.CORE_NAME});
|
||||
final SolrConfig config = localCollectionInstance.getDefaultCore().getSolrConfig();
|
||||
final String lvn = config.luceneMatchVersion.major + "_" + config.luceneMatchVersion.minor + "_" + config.luceneMatchVersion.bugfix;
|
||||
assert SOLR_PATH.endsWith(lvn) : "luceneVersion = " + lvn + ", solrPath = " + SOLR_PATH + ", check defaults/solr/solrconfig.xml";
|
||||
//assert SOLR_PATH.endsWith(lvn) : "luceneVersion = " + lvn + ", solrPath = " + SOLR_PATH + ", check defaults/solr/solrconfig.xml";
|
||||
|
||||
ConcurrentLog.info("Fulltext", "using lucene version " + lvn);
|
||||
ConcurrentLog.info("Fulltext", "connected solr in " + solrLocation.toString() + ", lucene version " + lvn);
|
||||
|
Loading…
Reference in New Issue
Block a user