Bugzilla – Attachment 174583 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.24 KB, created by
Nick Clemens (kidclamp)
on 2024-11-15 13:54:07 UTC
(
hide
)
Description:
Bug 38386: Make compare_es_to_db.pl not retrieve the records from ES
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-11-15 13:54:07 UTC
Size:
1.24 KB
patch
obsolete
>From 1384024dc900ccf9fd4f87217cbc1b792fb105c6 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> >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > 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.39.5
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