[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.02-135-g056eb8c74e
Git repo owner
gitmaster at git.koha-community.org
Thu Aug 13 19:34:57 CEST 2020
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, 20.05.x has been updated
via 056eb8c74e0b01386a0a1127ed5fff5ef59390b1 (commit)
from 8e495bb6d55e1669131bbf01eff5b3c9e27c2d88 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 056eb8c74e0b01386a0a1127ed5fff5ef59390b1
Author: Julian Maurice <julian.maurice at biblibre.com>
Date: Thu Jun 25 11:25:41 2020 +0400
Bug 25873: Ignore malformed data for Elasticsearch integer fields
If we try to put malformed data into an integer field, Elasticsearch
rejects the whole document.
Setting 'ignore_malformed' to true allows to ignore malformed data and
process the other fields of the document normally
https://www.elastic.co/guide/en/elasticsearch/reference/7.8/ignore-malformed.html
Test plan:
* Without the patch
1. In search engine configuration, change the type of a text field to
'Number' (for instance 'title')
2. misc/search_tools/rebuild_elasticsearch.pl -d -b
3. See that the index is empty (unless you have titles consisting only
of digits)
* With the patch
1. misc/search_tools/rebuild_elasticsearch.pl -d -b
2. Now records are correctly indexed
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit cb5acdc6702cef4668921ccf2537797358981fff)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
admin/searchengine/elasticsearch/field_config.yaml | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list