From eb68a30947c9dfd99f45bfa2a67bf9193b715161 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sat, 19 Jan 2013 11:21:33 +0100 Subject: [PATCH] solr performance settings the target of these performance settings is the reduction of IO in general and during search in particual. - reduced mergeFactor to 4. This will increase the IO during indexing, but will reduce IO during search. It will also greatly reduce the number of open files which should make it possible to have overall larger indexes until the number of open files in an OS is reached. - increased ramBufferSizeMB to 256mb. This will reduce the number of commits. This change may compensate the reduction of the mergeFactor. - disabled updateLog. This is a real-time search feature which is available in YaCy anyway because a commit is forced if index.html is called. The updateLog feature causes a lot of IO during indexing and search and produced a lot of files in SEGMENTS/solr_40/data/tlog --- defaults/solr/solrconfig.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/defaults/solr/solrconfig.xml b/defaults/solr/solrconfig.xml index cad12cb72..200cbe52b 100755 --- a/defaults/solr/solrconfig.xml +++ b/defaults/solr/solrconfig.xml @@ -149,7 +149,7 @@ before flushing. If both ramBufferSizeMB and maxBufferedDocs is set, then Lucene will flush based on whichever limit is hit first. --> - + +