Hi

I wondered if there was some way to configure a display name for facet
fields. Either that or some way to display nordic letters without it
messing up the faceting.

Say I wanted a facet field called "område" (norwegian, "area" in english).
Then I would have to create the field something like this in schema.xml:

<field name="omrade" type="string" indexed="true" stored="true"
required="false" />

But then I would have to do a replace to show a "prettier" name in
frontend. It would be preferred not to do this sort of hardcoding, as I
would have to do this for all the facet fields.


Either that or I could try encoding the 'å' like this:

<field name="omr&#229;de" type="string" indexed="true" stored="true"
required="false" />

Then it will show up with a pretty name, but the faceting will fail. Maybe
this is due to encoding issues, seen as the frontend is encoded with
ISO-8859-1?


So does anyone have a good practice for either getting this sort of problem
working properly. Or a way to define an alternative "display name" for a
facet field, that I could display instead of the field.name?


*Aleksander Akerø*
Systemkonsulent
Mobil: 944 89 054
E-post: aleksan...@gurusoft.no

*Gurusoft AS*
Telefon: 92 44 09 99
Østre Kullerød
www.gurusoft.no

Reply via email to