Bug 19365: Fix several issues with the Elasticsearch code
authorEre Maijala <ere.maijala@helsinki.fi>
Fri, 14 Sep 2018 03:40:24 +0000 (06:40 +0300)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 26 Nov 2018 16:11:01 +0000 (16:11 +0000)
commitbe2bdfd5113d00699c581e897d1f764158a860b0
treef542c429030aacacc29df402603debc5663bbe0c
parent746aa64a2949735ac9878b1fe162f877dc358fb3
Bug 19365: Fix several issues with the Elasticsearch code

Also optimize it so it's actually usable.

Test plan:

1. To test it properly you need biblio and authority data. You might get away with enabling AutoCreateAuthorities and BiblioAddsAuthorities so that authorities are created in the process. Another option would be to import authorities first e.g. from LoC.
2. Make sure the authority index has been properly created with "misc/search_tools/rebuild_elastic_search.pl -a -d"
3. Run "misc/link_bibs_to_authorities.pl -v -l" twice and observe the results.

Sponsored-by: National Library of Finland
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
C4/Heading.pm
C4/Matcher.pm
Koha/SearchEngine/Elasticsearch/Indexer.pm
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
Koha/SearchEngine/Elasticsearch/Search.pm
Koha/SearchEngine/Zebra/Search.pm
misc/link_bibs_to_authorities.pl