[TYPO3-Solr] typo3-project-solr at lists.typo3.org

Olivier Dobberkau olivier.dobberkau at dkd.de
Tue Dec 13 17:17:22 CET 2011


Am 13.12.11 16:39, schrieb Thomas freenet-Kunde:

> Yes, pages get indexed correctly. tt_news get indexed too, they show off in tx_solr_indexqueue_item and I can see in the statistics that tt_news get indexed. But they don't show up in search results. 
> If I query solr directly through the solr admin panel I find the tt_news entries but the content field is always empty.

Hi Thomas,

That is very strange.

this is the static ts you should see for tt_news.

plugin.tx_solr {
	
	index {
	queue {

	tt_news = 1
	tt_news {
	
	fields {
		abstract = short
		author = author
		changed = tstamp
		content = TEXT
		content {
			field = bodytext
			stripHtml = 1
		}
		created = crdate
		description = short
		keywords = keywords
		pid = pid
		title = title
		uid = uid
		url = TEXT
		url {
		typolink.parameter = {$plugin.tt_news.singlePid}
 typolink.additionalParams = &tx_ttnews[tt_news]={field:uid}
 typolink.additionalParams.insertData = 1
 typolink.returnLast = url
 typolink.useCacheHash = 1
		}
	}

}
}
}

Olivier


More information about the TYPO3-project-solr mailing list