Sitecore syncMaster index strategy not working

I have a rendering component that does a search using the Lucene index to populate.

We have two pointers; Master and the Internet. When the experience editor uses the Master index and the Web index for the actual site.

We configured the web index strategy as onPublishEndAsync , and we configured the main index strategy as syncMaster , the idea is that CMS users can add / edit Sitecore elements that use this component and see them immediately in the experience editor.

However, it seems that the main index does not update as data changes in Sitecore. The experience editor only shows data when I manually start index recovery.

  <strategies hint="list:AddStrategy"> <strategy ref="contentSearch/indexConfigurations/indexUpdateStrategies/syncMaster" /> </strategies> 

Why doesn’t the index update change when the data changes?

UPDATE

So, I compared the files offered by a clean installation, and they are the same.

I have to add, I am not using the standard sitecore_master_index . We have several sites running on the same sitecore instance, so we added the configuration for websitename_master_index . I compared the configuration for this in the <index> node with sitecore_master_index in Sitecore.ContentSearch.Lucene.Index.Master.config , and the only differences are the <root> crawler element, which points to the contents of specific node sites, plus we added some custom fields. but I believe that these fields will not cause problems, can we manually restore the penalty index?

Another interesting thing that I discovered while viewing showconfig.aspx was this:

 <agent type="Sitecore.ContentSearch.Tasks.Optimize" method="Run" interval="12:00:00" patch:source="Sitecore.ContentSearch.config"> <indexes hint="list"> <index>sitecore_master_index</index> </indexes> </agent> 

I'm not sure if this matters, but there was no suitable entry for our custom websitename_master_index ?

UPDATE

I also added debug level logging for the crawler

In crawling.log, I see only the following:

 14416 08:55:10 INFO [Index=website_master_index] Initializing SitecoreItemCrawler. DB:master / Root:/sitecore/Content/Website/Home 14416 08:55:10 INFO [Index=website_master_index] Initializing SynchronousStrategy. 

When editing and saving items, there is no more mention of the index in the log, and this actually refers to the sitecore_master_index standard, which we did not change for config for?

+6
source share

All Articles