wp yoast index goes beyond 100% and keep going
-
I can not complete the command
wp yoast index
It is reaching the post index to 100% and keeps going.
Not reaching the next step (terms)Exactly the same problem as described here (over 2 years ago):
https://www.ads-software.com/support/topic/yoast-index-with-wp-cli/No cache is used. Number of posts over 100k.
I even increased wpseo_post_indexation_limit (no dice).What is going on with this code -why doesn’t it reach to
$progress->finish();
protected function run_indexation_action( $name, Indexation_Action_Interface $indexation_action, $interval ) { $total = $indexation_action->get_total_unindexed(); if ( $total > 0 ) { $limit = $indexation_action->get_limit(); $progress = Utils\make_progress_bar( 'Indexing ' . $name . '(' . $limit . ')', $total ); do { $indexables = $indexation_action->index(); $count = \count( $indexables ); $progress->tick( $count ); \usleep( $interval ); Utils\wp_clear_object_cache(); } while ( $count >= $limit ); $progress->finish(); } }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp yoast index goes beyond 100% and keep going’ is closed to new replies.