Bug 12478: Change the commit count to 5k
It will improve the indexing time. Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
4493493da0
commit
2ee681c630
|
|
@ -40,7 +40,7 @@ B<rebuild_elastic_search.pl>
|
|||
=item B<-c|--commit>=C<count>
|
||||
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue