https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38913
--- Comment #23 from Jonathan Druart <[email protected]> --- (In reply to Janusz Kaczmarek from comment #22) > (In reply to Jonathan Druart from comment #20) > > > Well, every Koha::Item->store triggers $indexer->index_records, so no > > > wonder > > > -- we have 2508 952 fields in the test record :) > > > > Yes, the "interesting" was sarcastic, hence the "..." but that was not > > obvious, sorry. > > > > It's still a bug IMO. > > Especially with this: > > 718 $indexer->update_index( \@search_engine_record_ids, > > \@search_engine_records ) unless $skip_indexing; > > Does it mean that both in bulkmarcimport and in import staged records from > UI we should add bibliographic records with { skip_record_index => 1 } and > then add items with { skip_record_index => 1 }, and then, at the very end, > or after a certain number of records, or after each record, explicitly call: > > $indexer->index_records( $biblionumber(s), ...) ? > > Would it be a right way? Yes, see what we do in Koha::Items->batch_update. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
