Hi,
Finnish alphabet is same as English alphabet except it has three additional
letters å, ä and ö. In Finnish alphabetical order these letters are
considered as the three last letters of the alphabet so the last six
letters of Finnish alphabet are "xyzåäö". DSpace normalizes å and ä as a
and ö as o. This leads to undesired alphabetical sort order in DSpace. How
could we implement proper Finnish alphabetical sorting in DSpace? We are
currently using DSpace 7.5. In Solr, it would seem that sorting of Finnish
characters does not happen, at least in our case. This is imminent when we
open any collection, and then attempt to browse by title.
To recreate this issue, on a vanilla installation of dspace, we first
create 7 test entries inside of a collection with the following titles.
When browsed by title in an ascending form, the items are returned in the
following order:
- AABNER Forum Peer Review System
- Aadam askeetti : Ihminen paratiisissa Johannes Damaskolaisen mukaan
- AAI-profiler : fast proteome-wide exploratory analysis reveals
taxonomic identity, misclassification and contamination
- Äänen korkeuteen ja puhekieleen liittyvät taidot: teoriasta
kuulovammaisten lasten kuntoutukseen
- Ääniä opinto- ja uraohjauksen kansallisella kentällä – ohjauksen
kehittämistä koskevien argumenttien analyysi
- Aarne Michaël Tallgren, Estonia, and Tartu in 1920 : The image of a
country in correspondence
- The Aarhus Chamber Campaign on Highly Oxygenated Organic Molecules and
Aerosols (ACCHA) : particle formation, organic acids, and dimer esters from
alpha-pinene ozonolysis at different temperatures
However, the correct order should be :
- AABNER Forum Peer Review System
- AAI-profiler : fast proteome-wide exploratory analysis reveals
taxonomic identity, misclassification and contamination
- Aadam askeetti : Ihminen paratiisissa Johannes Damaskolaisen mukaan
- Aarne Michaël Tallgren, Estonia, and Tartu in 1920 : The image of a
country in correspondence
- The Aarhus Chamber Campaign on Highly Oxygenated Organic Molecules and
Aerosols (ACCHA) : particle formation, organic acids, and dimer esters from
alpha-pinene ozonolysis at different temperatures
- Äänen korkeuteen ja puhekieleen liittyvät taidot: teoriasta
kuulovammaisten lasten kuntoutukseen
- Ääniä opinto- ja uraohjauksen kansallisella kentällä – ohjauksen
kehittämistä koskevien argumenttien analyysi
To try and mitigate this issue, we tried to change the schema.xml of the
search core by explicitly creating a new fieldtype and specifying ICU
Collation libraries:
<fieldType name="titleSortType" class="solr.TextField"
sortMissingLast="false" omitNorms="false">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<!-- Use ICU Collation for Finnish sorting -->
<analyzer type="index"
class="org.apache.lucene.collation.ICUCollationKeyAnalyzer">
<param name="locale" value="fi" />
</analyzer>
<filter class="solr.TrimFilterFactory" />
</analyzer>
</fieldType>
And then specifying this to *_sort filed under fieldtype as:
<dynamicField name="*_sort" type="titleSortType" indexed="true"
stored="true" multiValued="false" omitNorms="true"/>
but this did not help.
Thanks and Regards,
Barunes
--
All messages to this mailing list should adhere to the Code of Conduct:
https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
---
You received this message because you are subscribed to the Google Groups
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dspace-tech/234c3a23-e9d6-4377-a9cf-6f9ef4278ba0n%40googlegroups.com.