anchor.diff:  /// </summary>
   /// <param name="state"></param>
   [<Sealed>]
  -type IndexService(nodeState : INodeState, settingsBuilder : ISettingsBuilder, logger: ILogService) = 
  +type IndexService(nodeState : INodeState, settingsBuilder : ISettingsBuilder, logger : ILogService) = 
       
       /// <summary>
       /// Get an existing index details
  
positive.code:             | (true, _) -> return! Choice2Of2(MessageConstants.INDEX_ALREADY_EXISTS)
              | _ -> 
                  let! settings = settingsBuilder.BuildSetting(index)
                  nodeState.PersistanceStore.Put index.IndexName index |> ignore
                  logger.AddIndex(index.IndexName, index)
                  if index.Online then do! AddIndex(nodeState.IndicesState, settings)
                  else do! nodeState.IndicesState.AddStatus(index.IndexName, IndexState.Offline)
  
negative.code:                 let! settings = settingsBuilder.BuildSetting(index)
                  Index.CloseIndex(nodeState.IndicesState, flexIndex)
                  do! Index.AddIndex(nodeState.IndicesState, settings)
                  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
                  logger.AddIndex(index.IndexName, index)
                  return! Choice1Of2()
              | _ -> return! Choice2Of2(MessageConstants.INDEX_IS_IN_INVALID_STATE)
  