[TYPO3-Solr] Index gone after few days

Göksu Peker peker at g-x-p.com
Wed Mar 19 21:16:18 CET 2014


strange but true 

See
/typo3conf/ext/solr/classes/class.tx_solr_garbagecollector.php
Line 374:
$solrConnection->deleteByQuery('(endtime:[* TO NOW] AND -endtime:"' . tx_solr_Util::timestampToIso(0) . '")');


outcome of function timestampToIso(0), which is same as date('Y-m-d\TH:i:s\Z', 0), will be different for varying timezone settings



Am 19.03.2014 um 20:46 schrieb Olivier Dobberkau <olivier.dobberkau at dkd.de>:

> Am 19.03.14 11:33, schrieb Göksu Peker:
> 
>> Please check if your timezone settings are the same for both environments an re-index.
> 
> wow. that would be a strange reason for this error.
> 
> olivier
> _______________________________________________
> 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