Koha::SearchEngine::Elasticsearch::Indexer - handles adding new records to the index
my $indexer = Koha::SearchEngine::Zebra::Indexer->new(); $indexer->index_records( $record_numbers, $op, $server, $records);
This is a dummy function to create the object. C4::Biblio->ModZebra is doing the real work now and needed variables are passed to index_records
This is simply a wrapper to C4::Biblio::ModZebra that takes an array of records and passes them through individually The final parameter $records is not used in Zebra, it exists for parity with Elasticsearch calls