made triplestore persistent by default

added a size display in triplestore servlet
pull/1/head
Michael Peter Christen 13 years ago
parent 8d6e77ad0c
commit 6d17686258

@ -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

@ -25,6 +25,11 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
<dl>
<dt>Triplestore size:</dt>
<dd>
#[size]#
</dd>
<dt><label for="content">Persistent store:</label></dt>
<dd>
<input type="checkbox" name="tspersistentenabled" id="tspersistentenabled" #(tspersistentenabled_checked)#:: checked="checked"#(/tspersistentenabled_checked)# />Enabled<br/>

@ -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;

Loading…
Cancel
Save