Hi Kevin,
Please see the comments in this class:
https://github.com/DSpace/DSpace/blob/03276502d60b2644c0c2e6e1ace8846eb6cd5bf5/dspace-api/src/main/java/org/dspace/sort/OrderFormat.java
Note that for authors, the standard normalization used is:
https://github.com/DSpace/DSpace/blob/03276502d60b2644c0c2e6e1ace8846eb6cd5bf5/dspace-api/src/main/java/org/dspace/sort/OrderFormatAuthor.java
which only calls on DecomposeDiacritics and LowerCaseAndTrim filters. You
will need to create your own delegate (e.g. a copy of OrderFormatAuthor),
and add the StripDiacritics filter after the DecomposeDiacritics:
public class MyOrderFormatAuthor extends AbstractTextFilterOFD
{
{
filters = new TextFilter[] { new DecomposeDiactritics(),
new StripDiacritics(),
new LowerCaseAndTrim() };
}
}
and add it to the dspace.cfg:
plugin.named.org.dspace.sort.OrderFormatDelegate=
org.dspace.sort.MyOrderFormatAuthor=author
Regards,
G
On 6 December 2013 12:38, Evans, Kevin <[email protected]> wrote:
> Hi All,
>
>
>
> Our Library staff have identified an issue when using the Search in
> Dspace; specifically, browsing for "Muller-Wille" doesn't find the
> researcher "Müller-Wille" because the umlaut wasn’t included in the search
> term.
>
>
>
> I assume this is the same for academics who have accents etc. in their
> names.
>
>
>
> Is it possible to change the browse so that it ignores accents, umlauts
> etc. or treats "Müller-Wille" the same as "Muller-Wille? Can I update
> synonyms to do this?
>
>
>
> Any advice much appreciated.
>
>
>
> Cheers
>
>
>
> Kevin
>
>
>
> Kevin Evans
> Systems Developer,
>
> Research & Collaborative Systems,
> Enterprise Applications,
> Room 919, 9th Floor, Laver Building,
> University of Exeter,
> Exeter,
> Devon,
> EX4 4QE
> 01392 725573
>
>
>
> Embrace. Extend. Extinguish.
>
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette