data sync continued / _id fix
authorBill Erickson <berickxx@gmail.com>
Tue, 9 Jul 2019 14:31:04 +0000 (10:31 -0400)
committerBill Erickson <berickxx@gmail.com>
Mon, 3 Feb 2020 22:13:58 +0000 (17:13 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Elastic.pm

index 372d31a..424b121 100644 (file)
@@ -169,7 +169,7 @@ sub delete_documents {
         $result = $self->es->delete_by_query(
             index => $self->index_name,
             type => 'record',
-            body => {query => {terms => {id => $ids}}}
+            body => {query => {terms => {_id => $ids}}}
         );
     };