[TYPO3-Solr] Using pages as facet options

Heiko Kromm | Paints h.kromm at paints.de
Fri Dec 23 10:05:47 CET 2011


Hi Andreas, 

if I get you right, I think I did something similar. 
I have a facet, which shows me the parent-page the sub-pages are in. 

Therefore I use simple Typoscript. 
Only set Area-Facett on Mainpages 
[PIDinRootline=14,15,16,17,18,19,20] 
plugin.tx_solr { 
index { 
additionalFields { 
area_stringS = TEXT 
area_stringS { 
data = leveltitle:2 
} 
} 
} 
} 
[global] 

Perhaps this helps 
Regards 
Heiko 



Von: "Andreas Schütte" <schuette at naw.info> 
An: typo3-project-solr at lists.typo3.org 
Gesendet: Donnerstag, 22. Dezember 2011 18:41:23 
Betreff: [TYPO3-Solr] Using pages as facet options 

Hello list, 

i am trying to use specific pages as facet options, so that every 
subpage is assigned to the corresponding option. 

What i am doing at the moment is, adding a dynamic field with 
pageUidToHierarchy as fieldProcessingInstructions. Thus getting an entry 
for each level in the rootline and every entry being rendered as a facet 
option. But i only need the entry that points to the page i want to use 
as an option. 

Is there any way to configure which entries should be used as facet 
options so the solr extension doesn't render every entry it finds in the 
given field. Or maybe my approach to this is totally wrong. 


Andreas 
_______________________________________________ 
TYPO3-project-solr mailing list 
TYPO3-project-solr at lists.typo3.org 
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr 


More information about the TYPO3-project-solr mailing list