From 23e38bd9189b13ae3f57b46bd9ff0c3cbfd500bc Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sun, 10 Jun 2012 21:54:30 +0200 Subject: [PATCH] do not load the "_triplestore.rdf" files which are of special use in sciencenet --- source/net/yacy/yacy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());