Afaik no, failed indexations do not get pushed to the delayed indexation table. You might want to open a feature request for that. But is it really the best solution? If solr is really unattainable you will still have no indexed content and a growing pending actions table... maybe a bigger warning is what is needed
Principal Consultant International Business
Member of the Community Project Board
I can confirm it from my own experience. If your solr server stops working all the content published during it's downtime won't get indexed. You should run "php extension/ezfind/bin/php/updatesearchindexsolr.php" to reindex the content that was missed.
--
Nothing is impossible. Not if you can imagine it!
I agree, that's what I thought, but running the script "php extension/ezfind/bin/php/updatesearchindexsolr.php" is pretty overkill. It indexes the whole site instead of only indexing the small missing part.
Hi Ghandri, if you know which node or which subtree have not been indexed by solr, you can run updatesearchindexsolr.php script with few parameters to not reindex all your contents. For example, you can try this command:
Thank you for taking time to feed into this topic.
I'm in a rather delicate situation.In the case given by Marko, we should identify a subtree, or when we have objects all around the content tree it becomes more difficult. I think we should bring an improvement to mitigate the problem of inaccessibility of Solr by including ObjectID in the table "ezpending_actions" untils the Solr server is avalaible again .
Maybe reindexing the entire content during the night could do it. I know about situations when people put the complete reindexaton in a nightly cronjob, in order to solve the case like yours.
But yes, having some mechanism that would allow you to reindex only the missed nodes would be nice. But I'm not sure that ezpending_actions is the right way to do it. Maybe some other solution that uses some tables of the ezfind extension.
--
Nothing is impossible. Not if you can imagine it!
Hubert Farnsworth
You must be logged in to post messages in this topic!