bloodhound-0.4.0.0: ElasticSearch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Database.Bloodhound.Client

Synopsis

Documentation

putMapping :: ToJSON a => Server -> IndexName -> MappingName -> a -> IO Reply Source

putMapping is an HTTP PUT and has upsert semantics. Mappings are schemas for documents in indexes.