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>
Fri, 17 Jan 2020 19:36:01 +0000 (14:36 -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}}}
         );
     };