Module
Database.ElasticSearch.Bulk
- Package
- purescript-elasticsearch
- Repository
- ConnorDillon/purescript-elasticsearch
#BulkParams Source
type BulkParams = (_source :: Optional (Array String), _sourceExcludes :: Optional (Array String), _sourceIncludes :: Optional (Array String), body :: BulkBody, index :: String, pipeline :: Optional String, refresh :: Optional Refresh, requireAlias :: Optional Boolean, routing :: Optional String, timeout :: Optional String, waitForActiveShards :: Optional String)
#BulkCreateParams Source
type BulkCreateParams = BulkIndexParams
#Action Source
type Action = { create :: BulkCreateParams } |+| { delete :: BulkDeleteParams } |+| { index :: BulkIndexParams } |+| { update :: BulkUpdateParams } |+| { doc :: Object Json } |+| (Object Json)
#BulkResult Source
type BulkResult = (errors :: Boolean, items :: Array ActionResult, took :: Int)
#bulkCreate Source
bulkCreate :: forall a b. Castable a BulkCreateParams => EncodeJson (Record b) => a -> Record b -> BulkBody
#bulkIndex Source
bulkIndex :: forall a b. Castable a BulkIndexParams => EncodeJson (Record b) => a -> Record b -> BulkBody
#bulkDelete Source
bulkDelete :: forall a. Castable a BulkDeleteParams => a -> BulkBody
#bulkUpdate Source
bulkUpdate :: forall a b. Castable a BulkUpdateParams => EncodeJson (Record b) => a -> Record b -> BulkBody
- Modules
- Database.
ElasticSearch - Database.
ElasticSearch. Bulk - Database.
ElasticSearch. Client - Database.
ElasticSearch. Common - Database.
ElasticSearch. Create - Database.
ElasticSearch. Delete - Database.
ElasticSearch. Get - Database.
ElasticSearch. Index - Database.
ElasticSearch. Indices. Create - Database.
ElasticSearch. Indices. Delete - Database.
ElasticSearch. Internal - Database.
ElasticSearch. Query - Database.
ElasticSearch. Search - Database.
ElasticSearch. Update