Today I would like to share some strange behavior noticed when using Sitecore search with cloned items. Sitecore support was also able to reproduce this.
I tested it using Lucene and Azure searches, and both of them displayed the same behavior.
I will update this post when I get an update from Sitecore Support.
I tested it using Lucene and Azure searches, and both of them displayed the same behavior.
I will update this post when I get an update from Sitecore Support.
Context
We have a multi-site solution where some types of items can be shared with other sites using item cloning features.
eg The editor creates a news item on the first site, they can then clone this news item to any other site. If the editor wants to edit the news item, they need only edit the original item and any changes will be reflected the clones immediately.
Let's assume, we have the following structure within Sitecore:
You can check out a short video about this issue here
eg The editor creates a news item on the first site, they can then clone this news item to any other site. If the editor wants to edit the news item, they need only edit the original item and any changes will be reflected the clones immediately.
Let's assume, we have the following structure within Sitecore:
We have the following index configuration for the "Global Site", called global_site_master_index
After an index rebuild, global_site_master_index contains items from the Global Site.
Let's clone FirstSite_News to the Second Site's news folder and update one of the fields from the FirstSite_News item
Reopen index in Luke, and you will see the cloned item has been indexed in the global_site_master index.
Workaround
Let's create a custom SitecoreItemCrawler where you can exclude an item if it is a clone. Please note, this will exclude all of the cloned items.
Update your search config, crawler section.
another possible workaround:
ipl 2019 schedule time table
ReplyDeleteipl schedule 2019
ipl 2019 schedule
ipl 2019 schedule time
awesome website blog keep it up the good work Whatsapp Dp for boys
ReplyDeleteJumma Mubarak images