[TYPO3-Solr] Can't extend SOLR-Index with tt_news

Gordon Fidora g.fidora at profile-media.de
Wed Feb 19 09:35:02 CET 2014


Good morning,

I got the solr-extension 2.8.3 and TYPO3 6.1 running. Everything works fine,
except: only pages get indexed...and for example no tt_news.

In my TS-Setup I got a part for pages and another part for tt_news. If I try to initialize
The Index-Queue via Search->Site Actions: I can only choose pages.
Normally there should be another checkbox for tt_news, right?

And after initializing:
I got only entries with type pages in my table: `tx_solr_indexqueue_item`.
Truncating all entries and executing the task:"Force Re-Indexing" doesn't work.

My sitetree structure looks like this:

Rootpage (ID1) (Link to Home ID4) -> includes the TS-Config for SOLR
--tt_news-Storage (ID3) -> not indexed
--Folder for Webpages (ID10) -> not indexed
-------Page "Home" (ID4) -> indexed
-------Page X -> indexed

The News-Storage got the ID3. Could the symlink cause this problem?

I also tried this:
plugin.tx_solr.index.queue.tt_news.additionalPageIds = 3

but no success.



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

                                                                       }
                                                                       pages {
                                                                                              ....
                                                                       }

Best Regards

Gordon


More information about the TYPO3-project-solr mailing list