internal void Patch()
        {
            List<string> docIds = new List<string>() { "596548a7-61ef-4465-95bc-b651079f4888", "cbbca8d5-be45-4e0d-91cf-f4129e13e65e" };
            using (var session = _documentStore.OpenSession())
            {
                session.Advanced.DatabaseCommands.Batch(GenerateCommands(docIds));
            }
        }
        private List<ICommandData> GenerateCommands(List<string> docIds )
        {
            List<ICommandData> retList = new List<ICommandData>();
 
            foreach (var item in docIds)
            {
                retList.Add(new PatchCommandData()
                {
                    Key = item,
                    Patches = new[] { new  Raven.Abstractions.Data.PatchRequest () {
                    Name = "Processed",
                    Type = Raven.Abstractions.Data.PatchCommandType.Set,
                    Value = new RavenJValue(true)
                }}});
            }
            
            return retList;
        }