bloodhound-0.2.0.0: ElasticSearch client library for Haskell

Safe HaskellNone

Database.Bloodhound.Client

Synopsis

Documentation

putMapping :: ToJSON a => Server -> IndexName -> MappingName -> a -> IO ReplySource

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