[TYPO3-Solr] Renaming Facets works not always as expected

Windisch, Nils Kolja windisch at sub.uni-goettingen.de
Thu Jan 19 11:27:21 CET 2012


Hi,

I do indexing content in german (L=0) and english (L=1) language and display results with facets.

Two things (1. ist the important one) are kind of odd.

1. I try to rename the facet name (as shown in the frontend) by setting a custom field.type value and it works like charme for "pages", but not for "staff_department" (which are (translated) tt_address groups).
I get as facet names "Pages" and "Abteilungen / Gruppen" (this should be "Departments / Units") in the english language frontend.

2. the index in "core_en" contains untranslated documents for tt_address groups (which is unexpected), but they are not shown in search result list (which is expected).

below the page TS Constants/Setup related to 2.

Code:

Pags Template TS Constants:

#### SNIP ####
plugin.tx_solr.solr.path = /solr/core_de/
solr_plugin.label.pages = Seiten
solr_plugin.label.staff_department = Abteilungen / Gruppen
[globalVar = GP:L = 1]
plugin.tx_solr.solr.path = /solr/core_en/
solr_plugin.label.pages = Pages
solr_plugin.label.staff_department = Departments / Units
[global]
#### SNAP ####


Pags Template TS Setup:

#### SNIP ####
plugin.tx_solr.index.queue.pages.fields.type = TEXT
plugin.tx_solr.index.queue.pages.fields.type.value = {$solr_plugin.label.pages}

plugin.tx_solr.index.queue.staff_department.fields.type = TEXT
plugin.tx_solr.index.queue.staff_department.fields.type.value = {$solr_plugin.label.staff_department}
#### SNAP ####

(ext:solr (EAP, rev ~4 weeks old), TYPO3 4.6.0)

Best,
Nils



--
Nils Windisch
Stv. Leiter Gruppe WWW,Portale
Georg-August-Universität Göttingen
Niedersächsische Staats- und Universitätsbibliothek Göttingen
D-37070 Göttingen
+49 551 39-8374 (Tel.)
+49 170 2209603 (Mobil)
+49 551 39-5222 (Fax)
windisch at sub.uni-goettingen.de
http://www.sub.uni-goettingen.de
nwindis (skype / jabber.gwdg.de)


More information about the TYPO3-project-solr mailing list