[TYPO3-Solr] index.queue.configuration for pages (tt_content)

Johann Höchtl jhoechtl at gmail.com
Tue Sep 9 18:06:26 CEST 2014


Hi Kevin,

you could something like this, but it’s not recommend, because you don’t get plugin generated content and it doesn’t respect fe_user:

plugin.tx_solr.index.queue.my_content = 1
plugin.tx_solr.index.queue.my_content {
	table = pages
	fields {
		title = title
		content = CONTENT
		content {
			table = tt_content
			select {
				selectFields = header, bodytext
			}
			renderObj = COA
			renderObj {
				10 = TEXT
				10.field = header
				# This removes HTML tags
				11 = SOLR_CONTENT
				11.field = bodytext
			}
		}
		url = TEXT
		url.typolink.parameter = TEXT
		url.typolink.parameter.field = uid
	}
}

This is untested and as already mentioned not recommended. It will probably only work with Text CEs

Best regards,
Hans

Am 09.09.2014 um 15:21 schrieb Kevin von Spiczak <k.vonspiczak at q4u.de>:

> Hi guys,
> 
> could anybody here provide a functional TypoScript configuration to index the table "pages" plus the related content elements from tt_content?
> 
> Replies appreciated!
> Cheers
> Kevin
> _______________________________________________
> 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