Last active
April 16, 2019 00:59
-
-
Save lukecav/12db161fce8135c9fb80fbf9c8d35352 to your computer and use it in GitHub Desktop.
ElasticPress WP-CLI Commands to index WooCommerce product posts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wp elasticpress delete-index | |
wp elasticpress index --setup --posts-per-page=2000 --post-type="product" | |
wp elasticpress index --posts-per-page=2000 --post-type="product" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/10up/ElasticPress#wp-cli-commands