• Resolved aboyitdev

    (@aboyitdev)



    I see that every time a product is re-indexed, the old index data will be deleted and it will re-index everything from the beginning.
    Because we update a large number of products directly into the database without going through the Website admin, is there a way for us to hook somewhere to re-index the value of these post_id, due to the number of products and There are too many users and it takes a long time to sync them all again. Thank you .

Viewing 1 replies (of 1 total)
  • Plugin Contributor Felipe Elia

    (@felipeelia)

    Hi! Actually, when a product is changed, ElasticPress will automatically sync only that product instead of re-indexing everything. If you need to update only a group of products (or posts) the easiest way is to use the WP-CLI command (wp elasticpress sync –include=<post_ids>).

    As?we don’t provide support here, if you have any follow-up questions, please open an issue in our?GitHub repository. Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Update a few products.’ is closed to new replies.