2013/3/21 Hrafn H. Malmquist <[email protected]>
> The faceted searching in Discovery is unfreindly towards foreign characters.
>
> The Icelandic letter ð/Ð should be right after D but comes at the end instead.
>
> Any suggestions?

Hi Hrafn,

I'm not an expert in this area, but this seems to be a problem not
with DSpace as such, but with Solr. I can't tell you the exact steps
but I'll try to point you in the right direction. I consulted this
with Kevin.

You will have to create a custom "TYPE" and assign it to
<dynamicField name="*_sort" type="lowerCaseSort" indexed="true"
stored="true" multiValued="false" omitNorms="true"/>
here:
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace/solr/search/conf/schema.xml#L546

Here is the info about creating a type:
http://wiki.apache.org/solr/UnicodeCollation

After each change of schema, you need to rebuild the discovery index by running
[dspace]/bin/dspace update-discovery-index -b


So you'll have to experiment a bit. Let us know if you solve it. Maybe
there is something we could change in the schema definition we
distribute with DSpace that would also help other languages.

P.S. Say hello to Halldóra for me.

Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
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

Reply via email to