Ejemplo n.º 1
0
        private void StartRebuildJob(KeyValuePair <string, Index> index)
        {
            var options = new Jobs.JobOptions("Post Installation Index Build For Required Bucket Indexes", "Post Installation Indexing", Client.Site.Name, new Builder(index.Key), "Rebuild")
            {
                AfterLife = TimeSpan.FromMinutes(1.0)
            };

            Jobs.JobManager.Start(options);
        }
Ejemplo n.º 2
0
 private void StartRebuildJob(KeyValuePair<string, Index> index)
 {
     var options = new Jobs.JobOptions("Post Installation Index Build For Required Bucket Indexes", "Post Installation Indexing", Client.Site.Name, new Builder(index.Key), "Rebuild")
                       { AfterLife = TimeSpan.FromMinutes(1.0) };
     Jobs.JobManager.Start(options);
 }