Changes to Custom IndexProviders Implementation in Sitefinity 3.6 SP1
In case you are using some of the Custom Index Providers I blogged about previously, you may encounter some errors when upgrading to the new Sitefinity 3.6 SP1 that was released this week.
The problem is that the IIndexerInfo interface how requires a new method, ResolveIndexPath(). Since the Sitefinity team is still catching up on documentation, I didn’t know what exactly this is used for. Fortunately, with the use of Reflector, it turns out that this simply returns the Path property.
public string ResolveIndexPath() { return Path; }
Actually, this method is also supposed to take into account culture information, modifying the link if necessary. However, if you do not require this, and I don’t, then you are safe with just returning the path.
Now with this change, your index providers should compile correctly, and successfully index your site. I hope this was helpful! As always, comments are welcome and appreciated.
selaromdotnet
Latest posts by selaromdotnet (see all)
- Restarting a Specific Azure Web App Instance - January 13, 2021
- Adding Ratings and Reviews to Sitecore Commerce with YotPo - November 13, 2018
- Sourcetree Suddenly Prompting for Github Credentials - February 22, 2018