LP1844418 Direct indexing WIP user/berick/lp1844418-elasticsearch-egest
authorBill Erickson <berickxx@gmail.com>
Mon, 24 Feb 2020 17:51:42 +0000 (12:51 -0500)
committerBill Erickson <berickxx@gmail.com>
Mon, 24 Feb 2020 17:51:42 +0000 (12:51 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Elastic.pm

index 9b878d0..4598156 100644 (file)
@@ -399,7 +399,7 @@ sub update_document {
             index => $self->index_name,
             type => 'record',
             id => $id,
-            body => $body
+            body => {doc => $body}
         );
     };