Create Find facets based on attributes

First of all.... Happy New Year! While back I wrote a post about how to create term facets from attributes on contenttype properties. Doing a POC at the end of last year, about which I will post later, I remembered that I did not follow up on how to retrieve the facets created that way. … Continue reading Create Find facets based on attributes

Get “linked” product url

Imagine a scenario where you have a main catalog containing all your products and several "sub" catalogs with products linked from the main catalog.When you do a search for a product in the sub catalog and you would want to get the link to a product, you would get the link to the product within … Continue reading Get “linked” product url

“Filter” your commerce navigation

Within Episerver Commerce you can have a lot of rules for displaying a product to a visitor, e.g. if it's available for the current market. So it can happen that when you click on a main category or subcategory link there are no products displayed. To prevent this, as it can be quite annoying for … Continue reading “Filter” your commerce navigation

Offload your Episerver Find tracking

Imagine a site with 10+ instances and a lot of visitors and search requests. The find queries are tracked, to provide data for the auto suggest, and cached. And then... you get an error in Find: Too Many Requests. My first thought was to increase the value for StaticallyCacheFor. But it did not have as … Continue reading Offload your Episerver Find tracking

Auto correct a search query

So your visitor is in a hurry and makes a typo in the search box. Chances are no results might be returned. By using the Bing Spellcheck API you can auto correct typos in the query and, maybe, return a result. As with the auto correct on your phone, it kinda depends on how smart … Continue reading Auto correct a search query

Check your content for indexing errors

Sometimes you can get errors when indexing your content with Episerver Find. Most of the time the errors that are logged are quite cryptic. So I have created a validator that uses your Episerver Find instance to check if your content will cause problems when it's being indexed. You just need to get the Serializer … Continue reading Check your content for indexing errors

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

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