public override void SideBySideExecuteIndex(AbstractIndexCreationTask indexCreationTask, Etag minimumEtagBeforeReplace = null, DateTime? replaceTimeUtc = null) { var list = ShardStrategy.Shards.Values.Select(x => x.DatabaseCommands).ToList(); ShardStrategy.ShardAccessStrategy.Apply(list, new ShardRequestData() , (commands, i) => { indexCreationTask.SideBySideExecute(commands, Conventions, minimumEtagBeforeReplace, replaceTimeUtc); return (object)null; }); }
/// <summary> /// Executes the index creation in side-by-side mode. /// </summary> public virtual void SideBySideExecuteIndex(AbstractIndexCreationTask indexCreationTask, Etag minimumEtagBeforeReplace = null, DateTime? replaceTimeUtc = null) { indexCreationTask.SideBySideExecute(DatabaseCommands, Conventions, minimumEtagBeforeReplace, replaceTimeUtc); }