[TYPO3-Solr] Nothing gets committed - where to start debugging

Søren Malling soren.malling at gmail.com
Thu Dec 1 14:47:27 CET 2011


Thanks to all who "hijacked" this threat, I think we got a lot of great 
and usefull informations here

In the meantime, my indexing issue was party solved" - I didn't have 
enough patience, but after a good night sleep, I woke up to indexed tt_news.

But only news records..

My pages configuration looks like this, and the part I'm mostly 
wondering about is the "content" mapping.

I've tried with to different configurations

content = CONTENT
..................

plugin.tx_solr.index.queue.pages = 1
plugin.tx_solr.index.queue.pages {
     indexer = tx_solr_indexqueue_PageIndexer
     indexer {
         // add options for the indexer here
     }

     additionalWhereClause = doktype = 1 AND no_search = 0

     fields {

         abstract = abstract
         author = author
         changed = tstamp
         content = CONTENT
         content {
             table = tt_content
             select {
                 pidInList = this
                 orderBy = sorting
             }
         }
         created = crdate
         description = description
     keywords = SOLR_MULTIVALUE
     keywords  {
         field  =  keywords
     }
         navTitle = nav_title
         pid = pid
         title = title
         subTitle = subtitle
         typeNum = TEXT
         typeNum.value = 0
         uid = uid
     }
}

..................

and

content = SOLR_CONTENT
..................

plugin.tx_solr.index.queue.pages = 1
plugin.tx_solr.index.queue.pages {
     indexer = tx_solr_indexqueue_PageIndexer
     indexer {
         // add options for the indexer here
     }

     additionalWhereClause = doktype = 1 AND no_search = 0

     fields {

         abstract = abstract
         author = author
         changed = tstamp
         content = CONTENT
         content {
             table = tt_content
             select {
                 pidInList = this
                 orderBy = sorting
             }
         }
         content >
         content = SOLR_CONTENT
         content {
             cObject = CONTENT
             cObject {
                 table = tt_content
                 select {
                     pidInList.field = pid
                     orderBy = sorting
                 }
             }
         }
         created = crdate
         description = description
     keywords = SOLR_MULTIVALUE
     keywords  {
         field  =  keywords
     }
         navTitle = nav_title
         pid = pid
         title = title
         subTitle = subtitle
         typeNum = TEXT
         typeNum.value = 0
         uid = uid
     }
}

..................

What is the main different SOLR_CONTENT and CONTENT and will someone 
else share there configurations?

Currently, no pages are indexed, only tt_news stuff.

Regards,

Søren

Den 28/11/11 16.10, Søren Malling skrev:
> Thanks for your response :)
>
> I got all plugin.tx_solr.logging.* enabled, but devlog doesn't mention
> anything about the commit part.
>
> when executed through scheduler or the BE module it's a seems like a
> simple "reload page", compared to "initialize index queue" which take a
> little time to complete.
>
> Info:
>
> tx_solr-2-5-0--20110805
> Solr 3.4.0
> Ext:solr Rev 55027 from svn.typo3.org
>
> How can i debug the commit part?
>
> Regards
>
> Søren



More information about the TYPO3-project-solr mailing list