November Happy Hour will be moved to Thursday December 5th.

Per Nergård
May 15, 2014
  3016
(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
Adding Geolocation Personalisation to Optimizely CMS with Cloudflare

Enhance your Optimizely CMS personalisation by integrating Cloudflare's geolocation headers. Learn how my Cloudflare Geo-location Criteria package...

Andy Blyth | Nov 26, 2024 | Syndicated blog

Optimizely SaaS CMS + Coveo Search Page

Short on time but need a listing feature with filters, pagination, and sorting? Create a fully functional Coveo-powered search page driven by data...

Damian Smutek | Nov 21, 2024 | Syndicated blog

Optimizely SaaS CMS DAM Picker (Interim)

Simplify your Optimizely SaaS CMS workflow with the Interim DAM Picker Chrome extension. Seamlessly integrate your DAM system, streamlining asset...

Andy Blyth | Nov 21, 2024 | Syndicated blog

Optimizely CMS Roadmap

Explore Optimizely CMS's latest roadmap, packed with developer-focused updates. From SaaS speed to Visual Builder enhancements, developer tooling...

Andy Blyth | Nov 21, 2024 | Syndicated blog