Bugzilla – Attachment 42063 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478: Change the commit count to 5k
Bug-12478-Change-the-commit-count-to-5k.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2015-08-28 11:38:37 UTC
(
hide
)
Description:
Bug 12478: Change the commit count to 5k
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-08-28 11:38:37 UTC
Size:
1.14 KB
patch
obsolete
>From 546ddeeb1881c47c315333d91f63c78c69fa22db Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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. >--- > 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 4cbecdb..4cf25b3 100755 >--- a/misc/search_tools/rebuild_elastic_search.pl >+++ b/misc/search_tools/rebuild_elastic_search.pl >@@ -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); >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292