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

Ingo Renner ingo at typo3.org
Tue Aug 23 18:16:31 CEST 2011


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


More information about the TYPO3-project-solr mailing list