Overrides the standard SitecoreItemCrawler to resolve issues with updating index when multiple crawlers are used and the published item has a Shared field
Rename the Class1.cs to match class/interface name that it includes.
One class/interface per a file.
Use folders to match namespaces.
For example, if a default namespace is Sitecore.Support, than you must create the ContentSearch folder under the root of a csproj, and add a file with name SitecoreItemCrawler.cs where you have the SitecoreItemCrawler class.
namespace Sitecore.Support.ContentSearch
{
public class SitecoreItemCrawler : Sitecore.ContentSearch.SitecoreItemCrawler
{
//...
}
}
Current issues:
Class1.cs
to match class/interface name that it includes.For example, if a default namespace is
Sitecore.Support
, than you must create theContentSearch
folder under the root of a csproj, and add a file with nameSitecoreItemCrawler.cs
where you have theSitecoreItemCrawler
class.Please check PSS's Coding Practices.