Per Nergård
May 15, 2014
  2947
(3 votes)

EPiServer Search indexing scheduled job

From time to time we get reports from customer where they don’t get the search hits they expect.

After making sure there is no human mistake accidently filtering out the page from the search hits  the conclusion is that the index has been corrupt in some way.

It’s easy enough to re-index the site by going to this url http://yoursite/EPiServer/CMS/Admin/IndexContent.aspx.

But even if its easy enough to do a re-index, having to do so from time to time makes the customer uncertain if the search is working correctly.

So I decided to create a scheduled job which performs the re-index.

The IndexContent.aspx saves the date of the latest performed re-index in the DDS always overwriting the same item. I implemented the scheduled job to also save the date but add another item to the DDS. To always be able to see the latest re-index date (independent if run from scheduled job or IndexContent.aspx I created a plugin that lists the 20 last re-index dates.

You can find the code over at GitHub.

May 15, 2014

Comments

valdis
valdis Jun 6, 2014 09:00 AM

Handy! I would just stick with scheduled job log capability to store all run cycle dates, results and any other related info :)

Please login to comment.
Latest blogs
Optimizely SaaS CMS Content Types

In Optimizely CMS, there are many base content types you can define through code, such as component, image, video, folder, and sections. But today,...

Patrick Lam | Jul 29, 2024

Opti ID overview

Opti ID allows you to log in once and switch between Optimizely products using Okta, Entra ID, or a local account. You can also manage all your use...

K Khan | Jul 26, 2024

Getting Started with Optimizely SaaS using Next.js Starter App - Extend a component - Part 3

This is the final part of our Optimizely SaaS CMS proof-of-concept (POC) blog series. In this post, we'll dive into extending a component within th...

Raghavendra Murthy | Jul 23, 2024 | Syndicated blog

Optimizely Graph – Faceting with Geta Categories

Overview As Optimizely Graph (and Content Cloud SaaS) makes its global debut, it is known that there are going to be some bugs and quirks. One of t...

Eric Markson | Jul 22, 2024 | Syndicated blog