web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Very slow update of product search in eCommerce

(0) ShareShare
ReportReport
Posted on by 2,067

Update:   I learned today that it is not sufficient to run 1040.  You also need to run 1150 - Catalogs and/or 1110 - Customers in order to update the product name.  The reason is that in PLP (Product List page) the product name attribute is used (from EcoResTextValue + a bunch of other tables), while the PDP (Product Details Page) is using the product translatio table (EcoResProductTranslation).  And the distribution job 1040 do not distribute the table EcoResTextValue.  And in such cases the Azure Search is not being updated with 1040. 

----------------------------------------

When updating a product name, it can take a very long time before the product name is changed in the eCommerce search result.  On the PDP (Product Details Page), the product name is updated quite soon.  I don't understand why the update of the search results are so slow (and in many cases never starts returning updated product names).  We are using the parameter "ProductSearch.UseAzureSearch", and I expect that this means that some services are used to return the search results.

I have a suspicion that this may be related to caching or update of caching.  In the SDK I see there is a file named. cache.settings.json and this file is documented here.   In this file there is settings for data on TTL (Time-To-Live) and TTR (Time-To-Refresh) specified in seconds. 

For TTL we see that there are 43200 seconds.  This is 12 hours !!

"FullProductSearchResult": 43200,
"ProductRefiner": 43200,
For TTR we see that there are 900 seconds.  This is 15 minutes !!
"FullProductSearchResult": 900,
"ProductRefiner": 900,
Could the settings in the cache.settings.json be the cause of why there is such a very long delay on when the search ?
Is there a way to "flush"  any cache to rebuild the AzureSearch index? (I have tried to use ?cachebypass=get got without any effect)
I have the same question (0)
  • Suggested answer
    Kurt Hatlevik Profile Picture
    2,067 on at

    I think I have figured it out !  After a lot of debugging and code review I have finally found the reason. We have to remove the onlinestore from the catalog, as I have done here in another test environment.

    pastedimage1644158492079v1.png

    Then we ran 9999, and it started working again.  The reason why we see this change in behavior is the introduction of B2B partner catalogs on the ecommerce, that is yet not GA, but have somehow been partly implemented.

    But somehow this new code affects the behavior of the Azure product Search. If you have a catalog assigned to a channel you may see errors like this in the sitebuilder:
    pastedimage1644158522548v2.png

  • Suggested answer
    WillWU Profile Picture
    22,361 on at

    Thank you for your sharing.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 266 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans