From 479474e532dca6ded90770fc7a0c00500ea4f787 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 8 Apr 2020 16:11:54 +0200 Subject: [PATCH] Bug 24027: Add POD about the new parameter in Koha::Item->store Signed-off-by: Jonathan Druart Signed-off-by: Martin Renvoize --- Koha/Item.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Koha/Item.pm b/Koha/Item.pm index a6ad7c6ac3..9e1bca4ef5 100644 --- a/Koha/Item.pm +++ b/Koha/Item.pm @@ -58,6 +58,16 @@ Koha::Item - Koha Item object class =head3 store + $item->store; + +$params can take an optional 'skip_modzebra_update' parameter. +If set, the reindexation process will not happen (ModZebra not called) + +NOTE: This is a temporary fix to answer a performance issue when lot of items +are added (or modified) at the same time. +The correct way to fix this is to make the ES reindexation process async. +You should not turn it on if you do not understand what it is doing exactly. + =cut sub store { -- 2.39.5