Koha/admin
Julian Maurice cb5acdc670 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@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-07-31 15:07:42 +02:00
..
searchengine/elasticsearch Bug 25873: Ignore malformed data for Elasticsearch integer fields 2020-07-31 15:07:42 +02:00
add_user_search.pl
additional-fields.pl
admin-home.pl
adveditorshortcuts.pl
aqbudgetperiods.pl
aqbudgets.pl
aqcontract.pl
aqplan.pl
audio_alerts.pl
auth_subfields_structure.pl
auth_tag_structure.pl
authorised_values.pl Bug 25651: Fix modification of authorised value 2020-06-12 09:57:31 +02:00
authtypes.pl
biblio_framework.pl
branch_transfer_limits.pl
branches.pl Bug 25288: (QA follow-up) Escape data and restore empty list behaviour 2020-06-24 15:15:41 +02:00
cash_registers.pl
categories.pl
check_budget_parent.pl
check_parent_total.pl
checkmarc.pl
cities.pl Bug 25279: Use another var name for the filter 2020-05-12 11:40:07 +01:00
classsources.pl
clone-rules.pl
columns_settings.pl Bug 24156: Fix set sort order to the first column 2020-06-25 10:51:59 +02:00
columns_settings.yml Bug 25968: Make logs sort by date descending as a default 2020-07-30 17:44:27 +02:00
credit_types.pl
currency.pl
debit_types.pl
desks.pl
didyoumean.pl
edi_accounts.pl
edi_ean_accounts.pl
import_export_framework.pl
item_circulation_alerts.pl
items_search_field.pl
items_search_fields.pl
itemtypes.pl
koha2marclinks.pl
library_groups.pl
localization.pl
marc_subfields_structure.pl
marctagstructure.pl Bug 17232: Make sure all fields are copies when creating a new framework from another 2020-04-27 11:44:32 +01:00
matching-rules.pl
oai_set_mappings.pl
oai_sets.pl
overdrive.pl
patron-attr-types.pl Bug 22844: Add the new entry to the patron attr types form 2020-07-20 16:08:22 +02:00
preferences.pl Bug 22844: Simplify the process of selecting database columns for system preferences 2020-07-20 16:08:22 +02:00
share_content.pl
smart-rules.pl Bug 25440: Fix for "uninitialized $maxsuspensiondays" in smart-rules.pl 2020-06-29 13:44:05 +02:00
sms_providers.pl
sru_modmapping.pl
systempreferences.pl
transport-cost-matrix.pl
usage_statistics.pl
z3950servers.pl