Add the average rating of content to your Find index

If you are using Episerver Social on your site, you may want to add the average rating of a page to the find index. The code is based on the SocialAlloy sample. This is the way how to make that work First add an extension method that gets the average rating of your content item. … Continue reading Add the average rating of content to your Find index

Advertisements

A generic TermsFacetFor solution

Those of you who know me a bit better know that I hate doing the same thing over and over again. When you do a TypedSearch in EPiServer Find you will have to add your facets to the query. If you have multiple types you might end up with a switch, separate queries for different … Continue reading A generic TermsFacetFor solution

Packages updated for EPiServer 8

Just a small notification that I have updated some of my packages for use with EPiServer 8. Block search solution Custom Localization provider Automated keywords Keep in mind that you will need to uninstall old package for the localization provider, due to a requested namespace change.  I have also separated the localization service from the … Continue reading Packages updated for EPiServer 8

Indexing Blocks with EPiServer Search, revisited

While back I blogged about Indexing Blocks with EPiServer Search, this is one of my most read posts, and I use it a lot myself. But I got tired of copying the code every time, so I decided to make it more generic. I created an attribute called "AdditionalSearchContent". When publishing I look for the … Continue reading Indexing Blocks with EPiServer Search, revisited

Indexing Blocks with EPiServer Search, part 2

While back I blogged about indexing blocks with EPiServer Search. Last week someone told me it might be useful to republish the pages containing the Block automatically when a Block is updated, so the search index will also be updated. To do this, just add another event handler that responds to a Block being published. … Continue reading Indexing Blocks with EPiServer Search, part 2

Indexing Blocks with EPiServer Search

This week I needed to add Blocks used on a page to EPiServer Search Index as content of the page they were used on. This is supported in Find, but as we are not using Find in this project, I needed a different solution. First I added an extra property to my base class to … Continue reading Indexing Blocks with EPiServer Search