[koha-commits] main Koha release repository branch 20.05.x updated. v20.05.03-65-g81865f7777
Git repo owner
gitmaster at git.koha-community.org
Fri Sep 4 23:18:45 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 81865f77777273d96169bfe6afa760e11be0c7da (commit)
via f297fb819c38553899f2cde10b108ca8fa712dce (commit)
via 0bfeb9990181445a14e4858b3d61954c1daf30ce (commit)
from 8c5b2ddec3d3f779e5256b6cb2a4869abb21e595 (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 81865f77777273d96169bfe6afa760e11be0c7da
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date: Mon Aug 31 15:25:05 2020 +0200
Bug 17661: Trivial simplification using += operator
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit c96fabb8c47320dba55372e4b955fb171310adec)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit f297fb819c38553899f2cde10b108ca8fa712dce
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Thu Aug 27 16:27:09 2020 +0000
Bug 17661: (follow-up) Update regex to support Unicode characters
Rather than limiting initials to [A-Z] we should test for a broad
range of uppercase letters.
The ES/Zebra changes are slightly different because of Perl vs Java regex
conventions. POerl may support either, but I found 'Uppercase' to be a bit more explicit
More info here:
https://perldoc.perl.org/perlunicode.html
TO test:
Same plan as before but use Ж. as the ending initial
Confirm the period is preserved and other punctuation removed
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit 224ac84aeca3b8dba87366925d83b01e0f5c1110)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
commit 0bfeb9990181445a14e4858b3d61954c1daf30ce
Author: Nick Clemens <nick at bywatersolutions.com>
Date: Thu Nov 2 16:52:53 2017 +0000
Bug 17661: Ending punctuation causes duplicate facets
The current code for facets doesn't pull strip ending punctuation from facets
This causes duplicate facets for terms that should be combined
Sometimes series can have different punctuation depending on the field they are in
Author initials punctuation should be preserved
To test:
1 - Do search and pull up some records
2 - Edit some of the records to have authors like:
Date, C.J.
Date, C.j.
Date, C.J .
3 - Edit the records to have some series statments like:
830 $aDate, C.J. ;$v5
830 $aDate, C.J. ; $v5
830 $aDate, C.J.; $v5
4 - Add some 490s to the record with first indicator 1 and series like:
You wouldn't want to--
You wouldn't want to
You wouldn't want to..
5 - Search again and note you have 3 facets each for author and series
6 - Apply patch
7 - Repeat
8 - Now you get 2 facets for author, period not removed when following Upper case immediately, is otherwise
9 - Now you should have a single series facet
10 - Switch search engine to ES (index before applying patch)
11 - Note facets are separate again
12 - Reset mappings and reindex
perl misc/search_tools/rebuild_elasticsearch -v -r
13 - Repeat search, facets combined as above
Signed-off-by: Sarah Cornell <sbcornell at cityofportsmouth.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>
Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
(cherry picked from commit e34f95a1f5eb0fce238ab442553bec5233263a9c)
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
C4/Search.pm | 4 +++-
admin/searchengine/elasticsearch/field_config.yaml | 1 +
admin/searchengine/elasticsearch/index_config.yaml | 6 ++++++
3 files changed, 10 insertions(+), 1 deletion(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list