Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Per Nergård
May 15, 2014
  2920
(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
Solving the mystery of high memory usage

Sometimes, my work is easy, the problem could be resolved with one look (when I’m lucky enough to look at where it needs to be looked, just like th...

Quan Mai | Apr 22, 2024 | Syndicated blog

Search & Navigation reporting improvements

From version 16.1.0 there are some updates on the statistics pages: Add pagination to search phrase list Allows choosing a custom date range to get...

Phong | Apr 22, 2024

Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog