[TYPO3-Solr] Index on datatables (extbase news)

Heiko Kromm | Paints h.kromm at paints.de
Wed Aug 24 17:40:43 CEST 2011


Hi Ingo, 

thanks for the answer. The tablename question did not relate to the news extension. 
I have a part on my website, where data from a webservice is used and I was wondering if I can use a indexer to index the data from the webservice. 

Regards 
Heiko 


Von: "Ingo Renner" <ingo at typo3.org> 
An: typo3-project-solr at lists.typo3.org 
Gesendet: Dienstag, 23. August 2011 18:16:31 
Betreff: Re: [TYPO3-Solr] Index on datatables (extbase news) 

Am 23.08.11 17:39, schrieb Heiko Kromm | Paints: 


> Is it right, that I don't need a valid tablename, if I declare my own indexer? 

I don't think you'll need an own indexer for EXT:news records. Something 
along these lines should do: 

ts_solr.index.queue.tx_news_domain_model_news = 1 
ts_solr.index.queue.tx_news_domain_model_news { 
fields { 

title = title 
content = bodytext 
teaser_textS = teaser 
# datetime_dateS = datetime <-- will need transformation to ISO date 
author = author 
newsType_intS = type 
... 

} 
} 


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