From 2ee681c630fe1e860e6846b0abbfe64f75c1c6b2 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 28 Aug 2015 11:07:51 +0100 Subject: [PATCH] Bug 12478: Change the commit count to 5k It will improve the indexing time. Signed-off-by: Nick Clemens Signed-off-by: Jesse Weaver Signed-off-by: Tomas Cohen Arazi Signed-off-by: Kyle M Hall Signed-off-by: Brendan Gallagher --- misc/search_tools/rebuild_elastic_search.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/search_tools/rebuild_elastic_search.pl b/misc/search_tools/rebuild_elastic_search.pl index 4cbecdb73f..4cf25b38f6 100755 --- a/misc/search_tools/rebuild_elastic_search.pl +++ b/misc/search_tools/rebuild_elastic_search.pl @@ -40,7 +40,7 @@ B =item B<-c|--commit>=C Specify how many records will be batched up before they're added to Elasticsearch. -Higher should be faster, but will cause more RAM usage. Default is 100. +Higher should be faster, but will cause more RAM usage. Default is 5000. =item B<-d|--delete> @@ -90,7 +90,7 @@ use Pod::Usage; use Data::Dumper; # TODO remove my $verbose = 0; -my $commit = 100; +my $commit = 5000; my ($delete, $help, $man); my ($index_biblios, $index_authorities); my (@biblionumbers); -- 2.39.5