Module

Database.ElasticSearch.Index

#IndexParams

type IndexParams = (body :: Object Json, id :: Optional String, ifPrimaryTerm :: Optional Number, ifSeqNo :: Optional Number, index :: String, opType :: Optional OpType, pipeline :: Optional String, refresh :: Optional Refresh, requireAlias :: Optional Boolean, routing :: Optional String, timeout :: Optional String, type :: Optional String, version :: Optional Number, versionType :: Optional VersionType, waitForActiveShards :: Optional String)

#OpType

type OpType = (StringLit "index") |+| (StringLit "create")

#Refresh

type Refresh = (StringLit "true") |+| (StringLit "false") |+| (StringLit "wait_for")

#VersionType

type VersionType = (StringLit "internal") |+| (StringLit "external") |+| (StringLit "external_gte")

#IndexResult

type IndexResult = (_id :: String, _index :: String, _primary_term :: Int, _seq_no :: Int, _shards :: { failed :: Int, successful :: Int, total :: Int }, _type :: String, _version :: Int, result :: String)

#indexOp

#createOp

#externalGte

#refreshTrue

#refreshFalse

#waitFor

Modules