From: Christian D. <dab...@fh...> - 2012-04-10 14:25:35
|
Hi, can I trunkate in the mapping file? i.e. I00* to catch several buildings as an institution in the institution_map.properties? I tried "*" , "$" and "?" - nothing works. I also tried to concatenate it with a comma: I001, I5002... neither here. A look at the other translation maps didn't help me. Christian Am 10.04.2012 15:46, schrieb Demian Katz: > > The easiest way to do this is at index-time. In your > import/marc_local.properties file, you can create a line like this: > > building = 852a, building_map.properties > > Then build a file called > import/translation_maps/building_map.properties containing the > translations you need... i.e.: > > I001 = Hagen > > I002 = Iserlohn > > . > > . > > . > > Then reindex your records, and the facet values will be pulled from > the map. > > - Demian > > *From:*Christian Dabrowski [mailto:dab...@fh...] > *Sent:* Tuesday, April 10, 2012 9:40 AM > *To:* Demian Katz > *Subject:* change facet name > > Hey Demian, > > we have only one identifier for our different library buildings - its > in the field 852a: I001, I002, I003, I004 and F001. > Now I would like to replace this in the facett on the result list with > the words: Hagen, Iserlohn, Meschede, Soest and UB. Is there a simple > way to do it in a existing php-file? > > > all best, > > Christian > |