[Koha-bugs] [Bug 26472] Elasticsearch - ES - Authority record results not ordered correctly due to punctuation marks
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 9 23:57:34 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26472
Aleisha Amohia <aleisha at catalyst.net.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #150899|0 |1
is obsolete| |
--- Comment #13 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 150914
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150914&action=edit
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
To test:
1. Create three authority records with the following values:
150 $a Science.
150 $a Science $v B.
150 $a Science $v C.
2. Search for your authority records with "Science" in "Heading A-Z" order
The search results will likely be in this order:
1. Science B.
2. Science C.
3. Science.
This is an unexpected order
3. Apply the patch and reindex
sudo koha-elasticsearch --rebuild -r <instancename>
4. Search for your authority records again with "Science" in "Heading A-Z"
order
Confirm your search results show in the correct order.
1. Science.
2. Science B.
3. Science C.
Sponsored-by: Education Services Australia SCIS
Signed-off-by: David Nind <david at davidnind.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list