From b8d65481d8f00b7c6a3248b7ca86196c265ff6c5 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 29 Apr 2022 14:07:02 -0300 Subject: [PATCH] Bug 30465: (QA follow-up) POD fixes Signed-off-by: Tomas Cohen Arazi --- Koha/SearchEngine/Elasticsearch/Indexer.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Koha/SearchEngine/Elasticsearch/Indexer.pm b/Koha/SearchEngine/Elasticsearch/Indexer.pm index 3788531ae6..7c32579aa2 100644 --- a/Koha/SearchEngine/Elasticsearch/Indexer.pm +++ b/Koha/SearchEngine/Elasticsearch/Indexer.pm @@ -306,6 +306,8 @@ sub update_index_background { =head2 index_records + $indexer->index_records( \@record_ids, $op, $server, @records, $more_params ); + This function takes an array of record numbers and fetches the records to send to update_index for actual indexing. @@ -315,9 +317,11 @@ at the moment. The other variables are used for parity with Zebra indexing calls. Currently the calls are passed through to Zebra as well. -=item C<$more_params> +C<$more_params> is expected to be a hashref that can contain the following keys + +=over 4 -index_now can be set to force indexation on the fly. +=item I: takes a boolean value, can be set to force indexation on the fly. =back -- 2.34.1