anchor.diff:                  let! settings = settingsBuilder.BuildSetting(index)
                   Index.CloseIndex(nodeState.IndicesState, flexIndex)
                   do! Index.AddIndex(nodeState.IndicesState, settings)
  -                nodeState.PersistanceStore.Put index.IndexName index |> ignore
  +                nodeState.PersistanceStore.Put(index.IndexName, index) |> ignore
                   logger.AddIndex(index.IndexName, index)
                   return! Choice1Of2()
               | IndexState.Opening -> return! Choice2Of2(MessageConstants.INDEX_IS_OPENING)
               | IndexState.Offline | IndexState.Closing -> 
                   let settings = settingsBuilder.BuildSetting(index)
  -                nodeState.PersistanceStore.Put index.IndexName index |> ignore
  +                nodeState.PersistanceStore.Put(index.IndexName, index) |> ignore
                   logger.AddIndex(index.IndexName, index)
                   return! Choice1Of2()
               | _ -> return! Choice2Of2(MessageConstants.INDEX_IS_IN_INVALID_STATE)
  
positive.code:                 CloseIndex(nodeState.IndicesState, index)
                  let! index' = nodeState.PersistanceStore.Get<Index>(indexName)
                  index'.Online <- false
                  nodeState.PersistanceStore.Put indexName index' |> ignore
                  logger.CloseIndex(indexName)
                  return! Choice1Of2()
          }
      
      /// <summary>
      /// Commit changes to the disk
      /// </summary>
      /// <param name="indexName"></param>
      /// <param name="nodeState"></param>
      let Commit indexName = maybe { let! (flexIndex, documentTemplate) = Index.IndexExists
                                                                              (nodeState.IndicesState, indexName)
                                     flexIndex.Shards |> Array.iter (fun shard -> shard.IndexWriter.commit()) }
      
      /// <summary>
      /// Load all indices for the node
  
negative.code: /// </summary>
  /// <param name="state"></param>
  [<Sealed>]
  type IndexService(nodeState : INodeState, settingsBuilder : ISettingsBuilder, logger : ILogService) = 
      
      /// <summary>
      /// Get an existing index details
  