[TYPO3-Solr] Combine different facets

Ingo Renner ingo at typo3.org
Wed Oct 10 17:08:45 CEST 2012


Am 08.10.12 17:23, schrieb Mario Beiser:

> any idea on how I can combine different factes with each other?
> E.g. if I want to have all documents AND news hitting my searchterm?

use a filter like this:

plugin.tx_solr.search.query {

	filter {
		pagesAndNewsOnly = type:(pages OR tt_news)
	}

}


-- 
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