Making my index auto update

Subscribe to Making my index auto update 3 posts, 3 voices

 
Avatar BenMcDonald 44 posts

How do I make my index be auto updated on a nightly basis?

To get kodebot (the admin utility) to update on a nightly basis you can edit the KodeBot.exe.config file located under your <installation location>/Kodebot directory.

From that file:
  • <!—
  • can use various TimeSpan format styles
  • 1. 1 // 1 day
  • 2. 1.5:0:0 // 1 day, 5 hours, 0 minutes, 0 seconds
  • 3. 12:0:0 // 0 days, 12 hours, 0 minutes, 0 seconds.
  • In general, it follows this formula:
  • d.
  • The ’.’ separates the day attribute from the time attribute.
  • —>
  • <add value="1000.0:0:0" key="TimeBetweenReindexes" />

Change the above line to <add value="1.0:0:0" key="TimeBetweenReindexes" />

and to control what time the reindexing happens, edit the <add value="23:59" key="ReindexStartTime" /> key.

 
Avatar winkler1 3 posts

With subversion, what is the overhead of polling more often – like every 15 minutes. If the revision # is unchanged, is it a NOOP? Does indexing know which files have changed, or is it brute force? Thanks

 
Avatar MikeGammarino 17 posts

The checkout and indexing process is smart enough to only process changes. However, the publishing of the index, which occurs once the index is updated, will take a minimum amount of time even if there is only a small file change.