summaryrefslogtreecommitdiff
path: root/defaults/solr
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-11-19 08:49:13 +0100
committerluccioman <luccioman@users.noreply.github.com>2018-11-19 08:49:13 +0100
commit419610137958210415d4dc809fd042d2977eb376 (patch)
tree1d1f41f218c63adf3e5284ae99b39a30b124f530 /defaults/solr
parent8f1722b7555af0182154c077052295a208d7a47a (diff)
Enable soft autocommit in default Solr config
Since upgrade from Solr 5.5 to Solr 6.6 (commit 6fe7359), hard autocommits were still enabled to regularly persist the Solr index to the file system, but new index entries were no more automatically made available for use by the application (soft autocommit). Therefore, YaCy features such as index statistics, that do not perform an explicit commit (as recommended by Solr documentation) were no more accurate. Soft autocommit is now restored as a default, with a time period expected to be sufficient for accuracy while adding only a reasonable system load overhead. Fixes issue #251
Diffstat (limited to 'defaults/solr')
-rw-r--r--defaults/solr/solrconfig.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/solr/solrconfig.xml b/defaults/solr/solrconfig.xml
index 9b22cc83b..8d4b9a5ee 100644
--- a/defaults/solr/solrconfig.xml
+++ b/defaults/solr/solrconfig.xml
@@ -325,7 +325,7 @@
-->
<autoSoftCommit>
- <maxTime>${solr.autoSoftCommit.maxTime:-1}</maxTime>
+ <maxTime>${solr.autoSoftCommit.maxTime:5000}</maxTime>
</autoSoftCommit>
<!-- Update Related Event Listeners