This will need a better description including steps to recreate the error before a fix can be attempted.
(In reply to comment #1) > This will need a better description including steps to recreate the error > before a fix can be attempted. When I add an item on the record, the items are not stored in the zebra. Maybe the problem on C4::Items::AddItem following lines: my $ new_item_marc = _marc_from_item_hash ($ item, $ frameworkcode, $ unlinked_item_subfields); _add_item_field_to_biblio ($ new_item_marc, $ item-> {'biblionumber'}, $ frameworkcode); replaced with: # ModZebra ($ item-> {biblionumber}, "specialUpdate", "biblioserver", undef, undef); but its function is not identical (do not add item field to biblio)
sorry, but it's still not clear and I can't reproduce it (on a 3.6.0), so I mark "worksforme", please reopen if you can give us more information and still have the problem.
Yes, I still have the problem. When I add an item with a barcode number 1234 in the bibliography under the title: "Library", then searching by keyword "bc:1234", results were not found. Similarly in the search results for keyword "ti:library", still no item too. In the circulation module that does not matter, barcode number 1234 can still be borrowed (the data has been recorded in the mysql database, whereas in the zebra is not). My guess error on the procedure to add, modify and change the item. Koha version 3.6 also still have the same problem.
Could you please : * suspend the automatic (cronjob) rebuild_zebra * add an item * look at what you get when you do SELECT * FROM zebraqueue WHERE biblio_auth_number=<the biblio you just added an item to>. You should see a line with "done=0", that will be visible with a timestamp of your adding * run rebuild_zebra.pl -v -b -z => to reindex all pending indexes and have a verbose output * copy/paste here what you get & check that zebraqueue has now done=1 for the previous line you've found
Oh. I use daemon script: koha-zebraqueue-ctl.sh Is this script deprecated and not usable?
Suyadi, Yes, koha-zebraqueue-ctl.sh is deprecated in favour of koha-zebra-ctl.sh. This sets up the Zebra server. To update, use rebuild_zebra.pl -z on the crontab, typically every 5-10 minutes (depends on how frequently your catalog changes).
oh, thanks a lot. my problem resolved.