Bugzilla – Attachment 174115 Details for
Bug 38386
compare_es_to_db.pl shouldn't retrieve the records from ES
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 38386: Make compare_es_to_db.pl not retrieve the records from ES
Bug-38386-Make-compareestodbpl-not-retrieve-the-re.patch (text/plain), 1.19 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-11-07 11:19:40 UTC
(
hide
)
Description:
Bug 38386: Make compare_es_to_db.pl not retrieve the records from ES
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-11-07 11:19:40 UTC
Size:
1.19 KB
patch
obsolete
>From 2e3d7490c670b8f9b90b04cc5300601d33aeda11 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Thu, 7 Nov 2024 08:15:29 -0300 >Subject: [PATCH] Bug 38386: Make compare_es_to_db.pl not retrieve the records > from ES > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/maintenance/compare_es_to_db.pl | 11 +++++------ > 1 file changed, 5 insertions(+), 6 deletions(-) > >diff --git a/misc/maintenance/compare_es_to_db.pl b/misc/maintenance/compare_es_to_db.pl >index 5b12814b419..b79f7397894 100755 >--- a/misc/maintenance/compare_es_to_db.pl >+++ b/misc/maintenance/compare_es_to_db.pl >@@ -53,12 +53,11 @@ foreach my $index ( ('biblios','authorities') ){ > # Now we get all the ids from Elasticsearch > # The scroll lets us iterate through, it fetches chunks of 'size' as we move through > my $scroll = $es->scroll_helper( >- index => $searcher->index_name, >- body => { >- size => 5000, >- query => { >- match_all => {} >- }, >+ index => $searcher->index_name, >+ _source => 0, >+ body => { >+ size => 5000, >+ query => { match_all => {} }, > }, > ); > >-- >2.47.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 38386
:
174115
|
174583