[prev in list] [next in list] [prev in thread] [next in thread]
List: solr-user
Subject: localizing 'display names' for facet valus
From: Will Milspec <will.milspec () gmail ! com>
Date: 2014-05-30 20:44:53
Message-ID: CANut7vDhWJS=zMRHUww46p=ohngb1Q3SAsojVZC7UwxUtZNzoA () mail ! gmail ! com
[Download RAW message or body]
Hi all,
What's the cleanest way to solve this problem: localize the 'display
names' for facet values without storing the localized names in solr.
Example:
-store 'country code' field in solr document
-facet on country code
-translate the country code based on the user's locale
For the facets, the English user would see:
England 10
France 20
United States 5
and the French user would see:
Angleterre 10
France 20
Etats Unis 5
Reading through Solr in Action, I don't see that solr has any 'native' tool
to 'decode facet names' I see that the 'key', will decode the facet name,
but not the actual value.
Additionally: we are interested in using AjaxSolr in the medium term
future. Between the library and/or javascript, does ajax-solr offer
additional techniques?
I wonder if anyone could recommend a clean solution.
thanks in advance,
will
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic