Bugzilla – Attachment 152646 Details for
Bug 26472
Elasticsearch - ES - Authority record results not ordered correctly due to punctuation marks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26472: Configure Elasticsearch for better alphabetic sorting
Bug-26472-Configure-Elasticsearch-for-better-alpha.patch (text/plain), 1.61 KB, created by
ByWater Sandboxes
on 2023-06-23 15:47:53 UTC
(
hide
)
Description:
Bug 26472: Configure Elasticsearch for better alphabetic sorting
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2023-06-23 15:47:53 UTC
Size:
1.61 KB
patch
obsolete
>From 3be4e5e0f534a0e6f2b421b63e86fa38ece431c0 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 19 May 2023 11:38:04 +0000 >Subject: [PATCH] Bug 26472: Configure Elasticsearch for better alphabetic > sorting > >This enhancement configures the ICU collation keyword plugin used by >Elasticsearch for sorting to better handle punctuation and whitespace in sort fields. > >Details at: >https://www.elastic.co/guide/en/elasticsearch/plugins/current/analysis-icu-collation-keyword-field.html >https://unicode-org.github.io/icu/userguide/collation/concepts.html > >To test: >1 - Create authorities with main headings like below and confirm they sort in the order shown >Hand blows >Hand book for Prospect Park >Hand (Fictitious character) >Hand in glove >Hand-ball >Handbok for sangere >Handbook for adventure >Hande im Pflug >Hands in the past >Handu >2 - Also confirm above order is correct and expected >3 - Test biblio search sorting as well (title, author, etc) > >Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com> >Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov> >--- > admin/searchengine/elasticsearch/field_config.yaml | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/admin/searchengine/elasticsearch/field_config.yaml b/admin/searchengine/elasticsearch/field_config.yaml >index c87cbcae8d..9ee129cd9c 100644 >--- a/admin/searchengine/elasticsearch/field_config.yaml >+++ b/admin/searchengine/elasticsearch/field_config.yaml >@@ -74,6 +74,7 @@ sort: > type: icu_collation_keyword > index: false > numeric: true >+ strength: quaternary > cn_sort: > type: icu_collation_keyword > index: false >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26472
:
150820
|
150899
|
150914
|
151180
|
151421
|
151471
|
152608
| 152646 |
173268