[TYPO3-Solr] How to index only certain news category

Jonas Götze jonnsn at gmail.com
Thu Oct 11 08:48:15 CEST 2012


Hi Hendrik

Am 09.10.2012 10:34, schrieb Hendrik Nadler:> a subselect should work:
 >
 > addtionalWhereClause = tt_news.deleted=0 AND tt_news.hidden=0 AND
tt_news.uid IN (SELECT mm.uid_local FROM tt_news_cat_mm mm WHERE 
mm.uid_foreign IN(11,12,13,14))
 >
 > 11,12,13,14 is a list of tt_news_cat UIDs

This seems to work, we tried that too - I was about to write it here 
when you posted your solution.

Thanks for your Response!

Regards
Jonas

PS: sorry, I could not send the mail above earlier because of firewall 
issues :(


More information about the TYPO3-project-solr mailing list