Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

do not load the "_triplestore.rdf" files which are of special use in sciencenet

Michael Peter Christen23e38bd9189b
diff --git a/source/net/yacy/yacy.java b/source/net/yacy/yacy.java
index d168290be..899ae90b3 100644
--- a/source/net/yacy/yacy.java
+++ b/source/net/yacy/yacy.java
@@ -309,7 +309,7 @@ public final class yacy {
File triplestore = new File(sb.getConfig("triplestore", new File(dataHome, "DATA/TRIPLESTORE").getAbsolutePath()));
mkdirIfNeseccary(triplestore);
for (String s: triplestore.list()) {
- if ((s.endsWith(".rdf") || s.endsWith(".nt")) && !s.equals("local.rdf")) TripleStore.Load(new File(triplestore, s).getAbsolutePath());
+ if ((s.endsWith(".rdf") || s.endsWith(".nt")) && !s.equals("local.rdf") && !s.endsWith("_triplestore.rdf")) TripleStore.Load(new File(triplestore, s).getAbsolutePath());
}
if (sb.getConfigBool("triplestore.persistent", false)) {
TripleStore.Load(new File(triplestore, "local.rdf").getAbsolutePath());