[Koha-bugs] [Bug 31532] Zebra search results incorrect because of Bug 15187

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 19 21:54:05 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31532

--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
* I verified the problem is only visible when using Zebra.
* Found a search for my title returned all records on ktd = no ICU
* Tried activating ICU:
https://wiki.koha-community.org/wiki/ICU_chains_configuration
* Noticed reindex failed:
https://wiki.koha-community.org/wiki/ICU_chains_configuration
* Killed the record with SQL
* Reindexed again... Output is clean.
* Search now brings back the exported record. 
* Why do we make this so hard?
* Now revert:   
  git revert 85690a14f8
  git revert e6947b7408
  git revert 058d411643
* Apply patch
* Copy updated Zebra files so they are used:

cp -i ./etc/zebradb/biblios/etc/dom-config.xml
/etc/koha/zebradb/biblios/etc/dom-config.xml
cp -i ./etc/zebradb/marc_defs/marc21/biblios/preprocess_marcxml.xsl
/etc/koha/zebradb/marc_defs/marc21/biblios/
cp -i ./etc/zebradb/marc_defs/unimarc/biblios/preprocess_marcxml.xsl
/etc/koha/zebradb/marc_defs/unimarc/biblios/

I've left out the change for NORMARC, as it's unsupported (see bug 18984)

* Restarted Zebra server: sudo koha-zebra --restart -v kohadev 
3. sudo koha-rebuild-zebra -b -f -v kohadev
4. Note that in search results the 880$6245$a data appears before the 245$a
data
5. Note that you can do a title index search on the 880$6245$a data

* Verify title words are not found in author index and vice versa :)

All good, signing off!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list