[TYPO3-Solr] Content Type names
Olivier Dobberkau
olivier.dobberkau at dkd.de
Thu Jun 14 20:15:55 CEST 2012
Am 14.06.12 06:27, schrieb Seidel, Christopher:
> Hi,
>
> we are integrating Solr Search for our website at the moment. The result view shows some content type filters. But they are ugily named (like the database table I think)
>
> Content Type
>
> + pages (2)
> + tx_news_domain_model_news (2)
>
> How can i change these names to "Page" or "News" for example?
>
>
> Christopher
>
Its all in the Spanish book about the guy called Manual.
http://forge.typo3.org/projects/extension-solr/wiki/Tx_solrsearch#facetingfacetsfacetNametype
plugin.tx_solr {
2 search {
3 faceting {
4 facets {
5 type {
6 renderingInstruction = CASE
7 renderingInstruction {
8 key.field = optionValue
9
10 pages = TEXT
11 pages.value = Pages
12 pages.lang.de = Seiten
13
14 tx_solr_file = TEXT
15 tx_solr_file.value = Files
16 tx_solr_file.lang.de = Dateien
17
18 tt_news = TEXT
19 tt_news.value = News
20 tt_news.lang.de = Nachrichten
21 }
22 }
23
24 language {
25 renderingInstruction = CASE
26 renderingInstruction {
27 key.field = optionValue
28
29 0 = TEXT
30 0.value = English
31 0.lang.de = Englisch
32
33 1 = TEXT
34 1.value = German
35 1.lang.de = Deutsch
36 }
37 }
38 }
39 }
40 }
41 }
Olivier
More information about the TYPO3-project-solr
mailing list