[Koha-bugs] [Bug 18610] ElasticSearch indexing of facets needs to be updated for newer Catmandu versions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 15 17:17:11 CEST 2017


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 63480
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63480&action=edit
Bug 18610: regression tests

This patch introduces tests fr K::SE::ES::Indexer::_convert_marc_to_json
to test the facets that get extracted from the sample record.

To test:
- Run
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Koha_Elasticsearch_Indexer.t \
          t/db_dependent/Koha_Elasticsearch.t
=> FAIL: Test fails because only last field mapped for facetting is considered
(overwrite behaviour).

Sponsored-by: ByWater Solutions

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


More information about the Koha-bugs mailing list