anchor.diff:  /// Document related operations
   type IDocumentService = 
       abstract GetDocument : indexName:string * id:string -> Choice<Document.Dto, Error>
  -    abstract GetDocuments : indexName:string * count:int -> Choice<Document.Dto, Error>
  +    abstract GetDocuments : indexName:string * count:int -> Choice<SearchResults, Error>
       abstract AddOrUpdateDocument : document:Document.Dto -> Choice<unit, Error>
       abstract DeleteDocument : indexName:string * id:string -> Choice<unit, Error>
       abstract AddDocument : document:Document.Dto -> Choice<CreateResponse, Error>
  
positive.code: 
  module DocumentService = 
      /// Get a document by Id
      let getDocument (indexName) (id) (state : State.T) = ()
      
      /// Get top 10 document from the index
      let getDocuments (indexName) (state : State.T) = ()
      
      /// Add or update an existing document
      let addOrUpdateDocument (document : Document.Dto) (state : State.T) = 
  
negative.code:     type Service(state) = 
          do state |> loadAllIndex
          interface IIndexService with
              
              member __.IndexOnline(indexName) = 
                  state
                  |> State.indexOnline indexName
                  |> resultToBool
              
              member __.GetIndex(indexName) = state |> getIndex (indexName)
              member __.UpdateIndex(index) = state |> updateIndex (index)
              member __.DeleteIndex(indexName) = state |> deleteIndex (indexName)
              member __.AddIndex(index) = state |> addIndex (index)
              member __.GetAllIndex() = state |> getAllIndices
              
              member __.IndexExists(indexName) = 
                  state
                  |> State.indexExists indexName
                  |> resultToBool
              
              member __.GetIndexStatus(indexName) = state.IndexFactory |> LazyFactory.getState indexName
              member __.OpenIndex(indexName) = state |> openIndex indexName
              member __.CloseIndex(indexName) = state |> closeIndex indexName
  