Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
createIndex :: Server -> IndexSettings -> IndexName -> IO Reply Source
createMapping :: ToJSON a => Server -> IndexName -> MappingName -> a -> IO Reply Source
deleteMapping :: Server -> IndexName -> MappingName -> IO Reply Source
indexDocument :: ToJSON doc => Server -> IndexName -> MappingName -> doc -> DocId -> IO Reply Source
getDocument :: Server -> IndexName -> MappingName -> DocId -> IO Reply Source
documentExists :: Server -> IndexName -> MappingName -> DocId -> IO Bool Source
deleteDocument :: Server -> IndexName -> MappingName -> DocId -> IO Reply Source
searchByType :: Server -> IndexName -> MappingName -> Search -> IO Reply Source