diff --git a/defaults/yacy.init b/defaults/yacy.init index 6cdd6785f..e8f2b78c5 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -1054,7 +1054,7 @@ federated.service.solr.indexing.sharding = MODULO_HOST_MD5 federated.service.solr.indexing.schemefile = solr.keys.default.list # RDF triplestore settings -triplestore.persistent = false +triplestore.persistent = true # Augmentation settings parserAugmentation = false diff --git a/htroot/Triplestore_p.html b/htroot/Triplestore_p.html index fd1e20243..0606841ae 100644 --- a/htroot/Triplestore_p.html +++ b/htroot/Triplestore_p.html @@ -25,6 +25,11 @@ To see a list of all APIs, please visit the Persistent store:
Enabled
diff --git a/htroot/Triplestore_p.java b/htroot/Triplestore_p.java index 58bf82e91..150ac4709 100644 --- a/htroot/Triplestore_p.java +++ b/htroot/Triplestore_p.java @@ -1,3 +1,4 @@ +import net.yacy.cora.lod.JenaTripleStore; import net.yacy.cora.protocol.RequestHeader; import de.anomic.server.serverObjects; import de.anomic.server.serverSwitch; @@ -29,7 +30,7 @@ public final class Triplestore_p { // prop.put("acceptfeedbackenabled_checked", // env.getConfigBool("interaction.feedback.accept", false) ? "1" : "0"); - + prop.put("size", JenaTripleStore.size()); // return rewrite properties return prop;