[TYPO3-Solr] Facetted search

Ingo Renner ingo at typo3.org
Tue Jul 26 20:00:07 CEST 2011


Am 20.07.11 09:13, schrieb Richard Haeser | alterNET Internet BV:

Hi Richard,

> In my faceted search i want create a new option. It should be possible
> to make a facet on the first page in the tree so if a page is like
> /projects/project-x and /news/news-item-1/ there should be a facet on
> projects and news. How can I do this? I think I have to work with
> additional fields?

yes, additional fields are your friend. Use a dynamic field to store the 
value created through the additional field configuration. In that field 
use a TEXT(?) cObject to get the top most page title or maybe uid - 
whatever suits you in your case.

You should be able to get this data with pure TS I'd say, using 
leveltitle or the like...


HTH
Ingo


-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list