Bug 18318: Unicode support for Elasticsearch
authorNick Clemens <nick@bywatersolutions.com>
Sat, 8 Apr 2017 03:09:05 +0000 (23:09 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 17 Oct 2017 07:40:22 +0000 (09:40 +0200)
commit9722e31033a0a86091d4abdd99fd9b1e9fddf118
treea89bfbdff975561a093880cfb75e5bdd4e8b55c1
parent2d04c80b37cb2f37f9709b8bcfc6b9a4e4eaaae9
Bug 18318: Unicode support for Elasticsearch

You must install the icu plugin for elasticsearch
https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-icu.html

Once installed, apply this patch
Reindex your data, deleting the existing indexes
perl /home/vagrant/kohaclone/misc/search_tools/rebuild_elastic_search.pl
-d
Find (or add) some titles with accented characters
Verify that a search for the exact character or the unaccented version
works

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1404654d65baccacb2928f59171ec6f41d9b653b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/SearchEngine/Elasticsearch.pm