]> git.koha-community.org Git - koha.git/commit
Bug 18434: Elasticsearch indexing broken with newer catmandu version
authorNick Clemens <nick@bywatersolutions.com>
Fri, 14 Apr 2017 14:03:11 +0000 (10:03 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 12 Jul 2017 06:57:59 +0000 (08:57 +0200)
commitb1737846404716094b42e19fd2f5774bf15e2662
tree5196774911bf87c4b315b43d3b9440728aab6938
parent437d7f62fb98ec04c4ec9753aae1e3d04bb56f51
Bug 18434: Elasticsearch indexing broken with newer catmandu version

To test:
1 - Make sure you have latest koha deps, catmandu versions should be:
    libcatmandu-marc-perl   1.09-1~kohadev1
    libcatmandu-perl        1.0304-2~kohadev1
2 - Reindex elastic
3 - Try searching and likely notice odd results
4 - Try:
curl -XGET
'http://localhost:9200/koha_kohadev_biblios/data/792?pretty=true'
with a known biblionumber and notice some null fields
5 - Apply patch
6 - Reindex
7 - Note fields are populated and search works as expected

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 9eb88f588bd13ddf25135c26acd905abe71f326a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SearchEngine/Elasticsearch.pm