[TYPO3-Solr] Scheduler doesn't index new tx_news records

Jigal van Hemert jigal.van.hemert at typo3.org
Sat Oct 15 20:13:33 CEST 2016


Hi,

On 14/10/2016 16:20, Tino Riedel wrote:
> The scheduler indexes pages, tx_news and some custom stuff.
> A Task "Index Queue Worker" runs every night. So new, modified and deletet pages will indexed correctly.
> But no new tx_news records will indexed untill i force reindexing the site.

If you add/modify new records in the TYPO3 backend they should be 
indexed the next run of the scheduler task. The backend uses the class 
DataHandler to insert/modify records and EXT:solr hooks into that class 
to detect new and changed records.
If you use an Extbase plugin to add news records in the frontend this 
won't work as extbase persistence doesn't use DataHandler. If you use 
some extension to import new news records it depends on the way the 
extension sends data to the database.

You can always check in the table tx_solr_indexqueue_item if there is a 
record for your new news record.
If the scheduler task for solr indexing isn't at 100% and won't increase 
anymore on new runs there is a problem in the indexing queue. It could 
be that there are items with errors (investigate the error and decide if 
the record should be indexed at all) or there can be leftovers from 
removed index queue definitions.

-- 
Jigal van Hemert
TYPO3 CMS Active Contributor

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-project-solr mailing list