unless ( $skip_record_index ) {
my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::BIBLIOS_INDEX });
$indexer->index_records( $biblionumber, "specialUpdate", "biblioserver" );
$indexer->index_records( $biblionumber, "specialUpdate", "biblioserver", $record );
}
return $biblionumber;
This function takes an array of record numbers and fetches the records to send to update_index
for actual indexing.
If $records parameter is provided the records will be used as-is, this is only utilized for authorities
If $records parameter is provided the records will be used as-is.
at the moment.
The other variables are used for parity with Zebra indexing calls. Currently the calls are passed through
to Zebra as well.
-