[Koha-bugs] [Bug 25273] Elasticsearch Authority matching is returning too many results

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 13:44:33 CEST 2020


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

--- Comment #4 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
I might have done a step wrong, it seems I'm not getting a well linked auth in
the end.

Note that my ES setup was only the two steps listed here:
https://wiki.koha-community.org/wiki/User:Victor_Grousset_-_tuxayo:Setup_Koha_development_environment_(koha-testing-docker)#Use_Elasticsearch

Don't know if that's enough.
And also: ES 5 (default of koha-testing-docker)

>  2 - Download via Z39.50 2 authorities, one of which is a narrower heading of the other, e.g.:

Same auths as the example.

>  3 - Place a heading for the broader term in a record

syspref BiblioAddsAuthorities => allow

Go to a record; edit record; go to 650
Replace the existing 650$a by "Waterworks"
and 650$x by "Costs"

> 4 - Make sure linker is set to default

C4::Linker::Default

>  5 - Attempt to link the records

misc/link_bibs_to_authorities.pl

>  6 - Linking fails

In the record's page the link is:

http://172.30.0.6:8081/cgi-bin/koha/catalogue/search.pl?q=su:%22%20Waterworks%22

It's wrong right? (and expected on this step)

>  7 - Apply patch

And after that: restart_all

>  8 - Refresh index settings (if using a custom file, remove 'match-heading')
>  9 - Reindex ES

misc/search_tools/rebuild_elasticsearch.pl -v -d -r

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


More information about the Koha-bugs mailing list