]> git.koha-community.org Git - koha.git/commit
Bug 27153: Add filter option to Elasticsearch indexing
authorNick Clemens <nick@bywatersolutions.com>
Fri, 1 Sep 2023 17:30:14 +0000 (17:30 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 24 Oct 2023 18:44:34 +0000 (15:44 -0300)
commitf5347f49587ee5406d4a3051117ada4687bf7a79
tree287261d294d7e476edb015aa9e6af29c29fbf607
parent9972085a93501bb9e85ee47a334a379c676c2487
Bug 27153: Add filter option to Elasticsearch indexing

This patch uses the filter option from the mappings to add a value_callback
to reord processing for indexing.

Fields defined with 'punctuation' filter will have all punctuation stripped when
conveted to documents.

Tests are updated.

Signed-off-by: Danielle M Elder <danielle.elder@law.utexas.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/SearchEngine/Elasticsearch.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch.t