Developer forum

Forum » Ecommerce - Standard features » How to automatically update product index from an import pipe?

How to automatically update product index from an import pipe?

Peter Gustafsson
Reply
We have an integration with NAV, and it calls a couple of pipes when it does imports.
But we need to update the product index automatically, because otherwise some product listings look wrong.

We have been trying to use the synchronous solution from this topic http://developer.dynamicweb-cms.com/forum.aspx?PID=48&ThreadID=25963
But it has been behaving very strangely: When this automatic index update happens, it does not affect the product listing, and
it does not change the "Updated" display in the Products index properties window. (in Management Center -> eCommerce -> Advanced configuration -> Searching -> a window opens and it has an "updated" field which shows last reindex date). However, this index update from code DOES show up in the Searching -> logs window, alongside logs from manual updates initiated from administration. However, while the manual update logs do display the proper Total Number of Times, the code-initiated index updates always show 0 total number of items.

We do run the pipe that updates index last, after all other pipes.

So, how do we update the index from code that it really happens? 

Replies

 

You must be logged in to post in the forum