11

Sitecore 7 – Disable indexing – It is not enough to set Indexing.UpdateInterval...

 3 years ago
source link: https://blog.coates.dk/2015/03/19/sitecore-7-disable-indexing-it-is-not-enough-to-set-indexing-updateinterval/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Sitecore 7 – Disable indexing – It is not enough to set Indexing.UpdateInterval to 00:00:00.

I was working on a setup for a customer where they have a dedicated publish server and therefore it was not necessary to update the indexes. There are many post stating that to disable sitecore indexing you have to set the Indexing.UpdateInterval setting to 00:00:00 i.e.

<setting name="Indexing.UpdateInterval" value="00:00:00"/>

The website has been recently upgraded from 6.6 to 7.5 and I noticed that the indexes were still being built?

So I used Brian’s jobs page (see his blog) which listed all the running jobs to see what was running and to my shock there were a lot of index update jobs? Which meant that instead of using all the machines power to publish it was busy indexing ALL the time?

running jobs

But since Sitecore 7.0 there is an extra setting which has to be changed in order to disable indexing.

Solution

To disable indexing the BucketConfiguration.ItemBucketsEnabled setting also must be set to false in the Sitecore.Buckets.config i.e.

<setting name="BucketConfiguration.ItemBucketsEnabled" value="false"/>

Hope this helps 🙂

This entry was posted in Indexing, Sitecore 7.5 and tagged Indexing, Lucene, Sitecore on March 19, 2015.

Post navigation

← Sitecore Upload Media Dialog Hangs (System.UnauthorizedAccessException) Sitecore 7.5 SQL Provider (WFFM 2.5) – Download for specific data range →

10 thoughts on “Sitecore 7 – Disable indexing – It is not enough to set Indexing.UpdateInterval to 00:00:00.”

  1. If you would like to get the nifty jobs page, see here:https://briancaos.wordpress.com/2014/11/11/sitecore-job-viewer-see-what-sitecore-is-doing-behind-your-back/

    Reply
  2. On a side note:
    By default an agent is set up which optimizes the sitecore_master_index once per hour.
    It checks whether or not item buckets are enabled, and if they aren’t the index optimization isn’t run.
    The class is called Sitecore.ContentSearch.Tasks.Optimize.

    Reply
  3. f8d0a7e35f3154633ce47e70fa4ed082?s=44&d=identicon&r=Grene naplava March 20, 2015 at 14:49

    Hi Alan.

    Thank you for sharing your knowledge. I’m just wondering if it’s a “documented feature” that master index is not required for correct publish process. Actually, we are using the same approach – we have separate publish instances where we are not indexing. Anyway, we have disabled indexing by complete index removal on configuration level ( has been removed on publish instances).
    I’d have another question … Are you using buckets on your site? And if so, does it publish correctly bucketed items if it’s disabled for publish instance?

    Best Regards
    rene naplava

    Reply
    1. On the solution we are not using item buckets, which is lucky and if we were I would try and set the update interval to 50 hours 🙂

      Reply
      1. f8d0a7e35f3154633ce47e70fa4ed082?s=44&d=identicon&r=Grene naplava March 23, 2015 at 06:10

        This I understand 🙂

        Anyway, (and I know it’s a bit off-topic) are you disabling the master index on the publishing instance as well? This point is quite unclear for me. In our solution we are not indexing on the publishing instance continuously. We just copy the index from another instance here once a day “to be safe”. But is it necessary? Who knows 🙂

  4. We do not copy in the index, as no one searches or uses the master index on the publishing server it is only for publishing.

    We have not noticed any problem with this (apart from parts of the front end will not work as we use the index to find related content, but this is not an issue as the customer does not expect and or have access to browse the site using the publishing instance.

    I hope this answers you question?

    Reply
    1. f8d0a7e35f3154633ce47e70fa4ed082?s=44&d=identicon&r=Grene naplava March 23, 2015 at 07:04

      Yes, sure. Thank you very much!

      Reply
      1. Then again we have upgraded to 7.5 update 2, and now it appears that publishing is failing, due to using ALL memory 28GB and some items don’t get published. But saying that sitecore own include files for publish optimization disable indexing!

  5. Pingback: Swift Publish Config | Horizontal Integration

  6. Pingback: Swift Publish Config – Blog

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK