mikaelmattsson / elasticsearch-indexer

Index WordPress posts and post meta data using Elasticseach.
GNU General Public License v2.0
43 stars 5 forks source link

update_post_meta not refreshing index #8

Closed hriad closed 9 years ago

hriad commented 9 years ago

Calling update_post_meta() does not trigger an index refresh.

As a temporary fix, I'm calling wp_update_post () after update_post_meta(). But this is not efficient at all, as it results in additional database queries.

mikaelmattsson commented 9 years ago

Thanks! I will fix this as soon as possible.

mikaelmattsson commented 9 years ago

@hriad, I closed this because I considered it fixed. But don't hesitate to comment if you are unsatisfied with the result.

hriad commented 9 years ago

@mikaelmattsson, Indded the issue is fixed and it's working as expected now. Thank you.