Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data BHEnv = BHEnv {}
- newtype Server = Server Text
- class (Functor m, Applicative m, MonadIO m) => MonadBH m where
- mkBHEnv :: Server -> Manager -> BHEnv
- newtype BH m a = BH {}
- runBH :: BHEnv -> BH m a -> m a
- data Version = Version {}
- newtype VersionNumber = VersionNumber {}
- data Status = Status {
- name :: Text
- cluster_name :: Text
- cluster_uuid :: Text
- version :: Version
- tagline :: Text
- data IndexSettings = IndexSettings {}
- defaultIndexSettings :: IndexSettings
- data ForceMergeIndexSettings = ForceMergeIndexSettings {}
- defaultForceMergeIndexSettings :: ForceMergeIndexSettings
- data UpdatableIndexSetting
- = NumberOfReplicas ReplicaCount
- | AutoExpandReplicas ReplicaBounds
- | BlocksReadOnly Bool
- | BlocksRead Bool
- | BlocksWrite Bool
- | BlocksMetaData Bool
- | RefreshInterval NominalDiffTime
- | IndexConcurrency Int
- | FailOnMergeFailure Bool
- | TranslogFlushThresholdOps Int
- | TranslogFlushThresholdSize Bytes
- | TranslogFlushThresholdPeriod NominalDiffTime
- | TranslogDisableFlush Bool
- | CacheFilterMaxSize (Maybe Bytes)
- | CacheFilterExpire (Maybe NominalDiffTime)
- | GatewaySnapshotInterval NominalDiffTime
- | RoutingAllocationInclude (NonEmpty NodeAttrFilter)
- | RoutingAllocationExclude (NonEmpty NodeAttrFilter)
- | RoutingAllocationRequire (NonEmpty NodeAttrFilter)
- | RoutingAllocationEnable AllocationPolicy
- | RoutingAllocationShardsPerNode ShardCount
- | RecoveryInitialShards InitialShardCount
- | GCDeletes NominalDiffTime
- | TTLDisablePurge Bool
- | TranslogFSType FSType
- | CompressionSetting Compression
- | IndexCompoundFormat CompoundFormat
- | IndexCompoundOnFlush Bool
- | WarmerEnabled Bool
- | MappingTotalFieldsLimit Int
- | AnalysisSetting Analysis
- | UnassignedNodeLeftDelayedTimeout NominalDiffTime
- attrFilterJSON :: NonEmpty NodeAttrFilter -> Value
- parseAttrFilter :: Value -> Parser (NonEmpty NodeAttrFilter)
- data ReplicaBounds
- data Compression
- newtype Bytes = Bytes Int
- gigabytes :: Int -> Bytes
- megabytes :: Int -> Bytes
- kilobytes :: Int -> Bytes
- data FSType
- data InitialShardCount
- data NodeAttrFilter = NodeAttrFilter {}
- newtype NodeAttrName = NodeAttrName Text
- data CompoundFormat
- newtype NominalDiffTimeJSON = NominalDiffTimeJSON {}
- data IndexSettingsSummary = IndexSettingsSummary {}
- parseSettings :: Object -> Parser [UpdatableIndexSetting]
- type Reply = Response LByteString
- data OpenCloseIndex
- data FieldType
- newtype FieldDefinition = FieldDefinition {}
- data IndexTemplate = IndexTemplate {}
- data MappingField = MappingField {}
- data Mapping = Mapping {}
- data UpsertActionMetadata
- buildUpsertActionMetadata :: UpsertActionMetadata -> Pair
- data UpsertPayload
- data AllocationPolicy
- data BulkOperation
- = BulkIndex IndexName MappingName DocId Value
- | BulkIndexAuto IndexName MappingName Value
- | BulkIndexEncodingAuto IndexName MappingName Encoding
- | BulkCreate IndexName MappingName DocId Value
- | BulkCreateEncoding IndexName MappingName DocId Encoding
- | BulkDelete IndexName MappingName DocId
- | BulkUpdate IndexName MappingName DocId Value
- | BulkUpsert IndexName MappingName DocId UpsertPayload [UpsertActionMetadata]
- data EsResult a = EsResult {
- _index :: Text
- _type :: Text
- _id :: Text
- foundResult :: Maybe (EsResultFound a)
- data EsResultFound a = EsResultFound {
- _version :: DocVersion
- _source :: a
- data EsError = EsError {
- errorStatus :: Int
- errorMessage :: Text
- data EsProtocolException = EsProtocolException {
- esProtoExMessage :: !Text
- esProtoExBody :: !LByteString
- data IndexAlias = IndexAlias {}
- data IndexAliasAction
- data IndexAliasCreate = IndexAliasCreate {}
- data AliasRouting
- newtype SearchAliasRouting = SearchAliasRouting (NonEmpty RoutingValue)
- newtype IndexAliasRouting = IndexAliasRouting RoutingValue
- newtype RoutingValue = RoutingValue {
- routingValue :: Text
- newtype IndexAliasesSummary = IndexAliasesSummary {}
- data IndexAliasSummary = IndexAliasSummary {}
- newtype DocVersion = DocVersion {}
- mkDocVersion :: Int -> Maybe DocVersion
- newtype ExternalDocVersion = ExternalDocVersion DocVersion
- data VersionControl
- newtype DocumentParent = DocumentParent DocId
- data IndexDocumentSettings = IndexDocumentSettings {}
- defaultIndexDocumentSettings :: IndexDocumentSettings
- data IndexSelection
- data NodeSelection
- data NodeSelector
- newtype TemplateName = TemplateName Text
- newtype TemplatePattern = TemplatePattern Text
- newtype EsUsername = EsUsername {
- esUsername :: Text
- newtype EsPassword = EsPassword {
- esPassword :: Text
- data SnapshotRepoSelection
- data SnapshotRepoPattern
- newtype SnapshotRepoName = SnapshotRepoName {}
- data GenericSnapshotRepo = GenericSnapshotRepo {}
- newtype SnapshotRepoType = SnapshotRepoType {}
- newtype GenericSnapshotRepoSettings = GenericSnapshotRepoSettings {}
- newtype SnapshotVerification = SnapshotVerification {}
- data SnapshotNodeVerification = SnapshotNodeVerification {}
- newtype FullNodeId = FullNodeId {
- fullNodeId :: Text
- newtype NodeName = NodeName {}
- newtype ClusterName = ClusterName {
- clusterName :: Text
- data NodesInfo = NodesInfo {}
- data NodesStats = NodesStats {}
- data NodeStats = NodeStats {
- nodeStatsName :: NodeName
- nodeStatsFullId :: FullNodeId
- nodeStatsBreakersStats :: Maybe NodeBreakersStats
- nodeStatsHTTP :: NodeHTTPStats
- nodeStatsTransport :: NodeTransportStats
- nodeStatsFS :: NodeFSStats
- nodeStatsNetwork :: Maybe NodeNetworkStats
- nodeStatsThreadPool :: NodeThreadPoolsStats
- nodeStatsJVM :: NodeJVMStats
- nodeStatsProcess :: NodeProcessStats
- nodeStatsOS :: NodeOSStats
- nodeStatsIndices :: NodeIndicesStats
- data NodeBreakersStats = NodeBreakersStats {}
- data NodeBreakerStats = NodeBreakerStats {}
- data NodeHTTPStats = NodeHTTPStats {}
- data NodeTransportStats = NodeTransportStats {}
- data NodeFSStats = NodeFSStats {}
- data NodeDataPathStats = NodeDataPathStats {
- nodeDataPathDiskServiceTime :: Maybe Double
- nodeDataPathDiskQueue :: Maybe Double
- nodeDataPathIOSize :: Maybe Bytes
- nodeDataPathWriteSize :: Maybe Bytes
- nodeDataPathReadSize :: Maybe Bytes
- nodeDataPathIOOps :: Maybe Int
- nodeDataPathWrites :: Maybe Int
- nodeDataPathReads :: Maybe Int
- nodeDataPathAvailable :: Bytes
- nodeDataPathFree :: Bytes
- nodeDataPathTotal :: Bytes
- nodeDataPathType :: Maybe Text
- nodeDataPathDevice :: Maybe Text
- nodeDataPathMount :: Text
- nodeDataPathPath :: Text
- data NodeFSTotalStats = NodeFSTotalStats {
- nodeFSTotalDiskServiceTime :: Maybe Double
- nodeFSTotalDiskQueue :: Maybe Double
- nodeFSTotalIOSize :: Maybe Bytes
- nodeFSTotalWriteSize :: Maybe Bytes
- nodeFSTotalReadSize :: Maybe Bytes
- nodeFSTotalIOOps :: Maybe Int
- nodeFSTotalWrites :: Maybe Int
- nodeFSTotalReads :: Maybe Int
- nodeFSTotalAvailable :: Bytes
- nodeFSTotalFree :: Bytes
- nodeFSTotalTotal :: Bytes
- data NodeNetworkStats = NodeNetworkStats {}
- data NodeThreadPoolsStats = NodeThreadPoolsStats {
- nodeThreadPoolsStatsSnapshot :: NodeThreadPoolStats
- nodeThreadPoolsStatsBulk :: NodeThreadPoolStats
- nodeThreadPoolsStatsMerge :: NodeThreadPoolStats
- nodeThreadPoolsStatsGet :: NodeThreadPoolStats
- nodeThreadPoolsStatsManagement :: NodeThreadPoolStats
- nodeThreadPoolsStatsFetchShardStore :: Maybe NodeThreadPoolStats
- nodeThreadPoolsStatsOptimize :: Maybe NodeThreadPoolStats
- nodeThreadPoolsStatsFlush :: NodeThreadPoolStats
- nodeThreadPoolsStatsSearch :: NodeThreadPoolStats
- nodeThreadPoolsStatsWarmer :: NodeThreadPoolStats
- nodeThreadPoolsStatsGeneric :: NodeThreadPoolStats
- nodeThreadPoolsStatsSuggest :: Maybe NodeThreadPoolStats
- nodeThreadPoolsStatsRefresh :: NodeThreadPoolStats
- nodeThreadPoolsStatsIndex :: NodeThreadPoolStats
- nodeThreadPoolsStatsListener :: Maybe NodeThreadPoolStats
- nodeThreadPoolsStatsFetchShardStarted :: Maybe NodeThreadPoolStats
- nodeThreadPoolsStatsPercolate :: Maybe NodeThreadPoolStats
- data NodeThreadPoolStats = NodeThreadPoolStats {}
- data NodeJVMStats = NodeJVMStats {
- nodeJVMStatsMappedBufferPool :: JVMBufferPoolStats
- nodeJVMStatsDirectBufferPool :: JVMBufferPoolStats
- nodeJVMStatsGCOldCollector :: JVMGCStats
- nodeJVMStatsGCYoungCollector :: JVMGCStats
- nodeJVMStatsPeakThreadsCount :: Int
- nodeJVMStatsThreadsCount :: Int
- nodeJVMStatsOldPool :: JVMPoolStats
- nodeJVMStatsSurvivorPool :: JVMPoolStats
- nodeJVMStatsYoungPool :: JVMPoolStats
- nodeJVMStatsNonHeapCommitted :: Bytes
- nodeJVMStatsNonHeapUsed :: Bytes
- nodeJVMStatsHeapMax :: Bytes
- nodeJVMStatsHeapCommitted :: Bytes
- nodeJVMStatsHeapUsedPercent :: Int
- nodeJVMStatsHeapUsed :: Bytes
- nodeJVMStatsUptime :: NominalDiffTime
- nodeJVMStatsTimestamp :: UTCTime
- data JVMBufferPoolStats = JVMBufferPoolStats {}
- data JVMGCStats = JVMGCStats {}
- data JVMPoolStats = JVMPoolStats {}
- data NodeProcessStats = NodeProcessStats {}
- data NodeOSStats = NodeOSStats {}
- data LoadAvgs = LoadAvgs {}
- data NodeIndicesStats = NodeIndicesStats {
- nodeIndicesStatsRecoveryThrottleTime :: Maybe NominalDiffTime
- nodeIndicesStatsRecoveryCurrentAsTarget :: Maybe Int
- nodeIndicesStatsRecoveryCurrentAsSource :: Maybe Int
- nodeIndicesStatsQueryCacheMisses :: Maybe Int
- nodeIndicesStatsQueryCacheHits :: Maybe Int
- nodeIndicesStatsQueryCacheEvictions :: Maybe Int
- nodeIndicesStatsQueryCacheSize :: Maybe Bytes
- nodeIndicesStatsSuggestCurrent :: Maybe Int
- nodeIndicesStatsSuggestTime :: Maybe NominalDiffTime
- nodeIndicesStatsSuggestTotal :: Maybe Int
- nodeIndicesStatsTranslogSize :: Bytes
- nodeIndicesStatsTranslogOps :: Int
- nodeIndicesStatsSegFixedBitSetMemory :: Maybe Bytes
- nodeIndicesStatsSegVersionMapMemory :: Bytes
- nodeIndicesStatsSegIndexWriterMaxMemory :: Maybe Bytes
- nodeIndicesStatsSegIndexWriterMemory :: Bytes
- nodeIndicesStatsSegMemory :: Bytes
- nodeIndicesStatsSegCount :: Int
- nodeIndicesStatsCompletionSize :: Bytes
- nodeIndicesStatsPercolateQueries :: Maybe Int
- nodeIndicesStatsPercolateMemory :: Maybe Bytes
- nodeIndicesStatsPercolateCurrent :: Maybe Int
- nodeIndicesStatsPercolateTime :: Maybe NominalDiffTime
- nodeIndicesStatsPercolateTotal :: Maybe Int
- nodeIndicesStatsFieldDataEvictions :: Int
- nodeIndicesStatsFieldDataMemory :: Bytes
- nodeIndicesStatsWarmerTotalTime :: NominalDiffTime
- nodeIndicesStatsWarmerTotal :: Int
- nodeIndicesStatsWarmerCurrent :: Int
- nodeIndicesStatsFlushTotalTime :: NominalDiffTime
- nodeIndicesStatsFlushTotal :: Int
- nodeIndicesStatsRefreshTotalTime :: NominalDiffTime
- nodeIndicesStatsRefreshTotal :: Int
- nodeIndicesStatsMergesTotalSize :: Bytes
- nodeIndicesStatsMergesTotalDocs :: Int
- nodeIndicesStatsMergesTotalTime :: NominalDiffTime
- nodeIndicesStatsMergesTotal :: Int
- nodeIndicesStatsMergesCurrentSize :: Bytes
- nodeIndicesStatsMergesCurrentDocs :: Int
- nodeIndicesStatsMergesCurrent :: Int
- nodeIndicesStatsSearchFetchCurrent :: Int
- nodeIndicesStatsSearchFetchTime :: NominalDiffTime
- nodeIndicesStatsSearchFetchTotal :: Int
- nodeIndicesStatsSearchQueryCurrent :: Int
- nodeIndicesStatsSearchQueryTime :: NominalDiffTime
- nodeIndicesStatsSearchQueryTotal :: Int
- nodeIndicesStatsSearchOpenContexts :: Int
- nodeIndicesStatsGetCurrent :: Int
- nodeIndicesStatsGetMissingTime :: NominalDiffTime
- nodeIndicesStatsGetMissingTotal :: Int
- nodeIndicesStatsGetExistsTime :: NominalDiffTime
- nodeIndicesStatsGetExistsTotal :: Int
- nodeIndicesStatsGetTime :: NominalDiffTime
- nodeIndicesStatsGetTotal :: Int
- nodeIndicesStatsIndexingThrottleTime :: Maybe NominalDiffTime
- nodeIndicesStatsIndexingIsThrottled :: Maybe Bool
- nodeIndicesStatsIndexingNoopUpdateTotal :: Maybe Int
- nodeIndicesStatsIndexingDeleteCurrent :: Int
- nodeIndicesStatsIndexingDeleteTime :: NominalDiffTime
- nodeIndicesStatsIndexingDeleteTotal :: Int
- nodeIndicesStatsIndexingIndexCurrent :: Int
- nodeIndicesStatsIndexingIndexTime :: NominalDiffTime
- nodeIndicesStatsIndexingTotal :: Int
- nodeIndicesStatsStoreThrottleTime :: NominalDiffTime
- nodeIndicesStatsStoreSize :: Bytes
- nodeIndicesStatsDocsDeleted :: Int
- nodeIndicesStatsDocsCount :: Int
- newtype EsAddress = EsAddress {}
- newtype BuildHash = BuildHash {}
- newtype PluginName = PluginName {
- pluginName :: Text
- data NodeInfo = NodeInfo {
- nodeInfoHTTPAddress :: Maybe EsAddress
- nodeInfoBuild :: BuildHash
- nodeInfoESVersion :: VersionNumber
- nodeInfoIP :: Server
- nodeInfoHost :: Server
- nodeInfoTransportAddress :: EsAddress
- nodeInfoName :: NodeName
- nodeInfoFullId :: FullNodeId
- nodeInfoPlugins :: [NodePluginInfo]
- nodeInfoHTTP :: NodeHTTPInfo
- nodeInfoTransport :: NodeTransportInfo
- nodeInfoNetwork :: Maybe NodeNetworkInfo
- nodeInfoThreadPool :: NodeThreadPoolsInfo
- nodeInfoJVM :: NodeJVMInfo
- nodeInfoProcess :: NodeProcessInfo
- nodeInfoOS :: NodeOSInfo
- nodeInfoSettings :: Object
- data NodePluginInfo = NodePluginInfo {}
- data NodeHTTPInfo = NodeHTTPInfo {}
- data NodeTransportInfo = NodeTransportInfo {}
- data BoundTransportAddress = BoundTransportAddress {}
- data NodeNetworkInfo = NodeNetworkInfo {}
- newtype MacAddress = MacAddress {
- macAddress :: Text
- newtype NetworkInterfaceName = NetworkInterfaceName {}
- data NodeNetworkInterface = NodeNetworkInterface {}
- data NodeThreadPoolsInfo = NodeThreadPoolsInfo {
- nodeThreadPoolsRefresh :: NodeThreadPoolInfo
- nodeThreadPoolsManagement :: NodeThreadPoolInfo
- nodeThreadPoolsPercolate :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsListener :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsFetchShardStarted :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsSearch :: NodeThreadPoolInfo
- nodeThreadPoolsFlush :: NodeThreadPoolInfo
- nodeThreadPoolsWarmer :: NodeThreadPoolInfo
- nodeThreadPoolsOptimize :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsBulk :: NodeThreadPoolInfo
- nodeThreadPoolsSuggest :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsMerge :: NodeThreadPoolInfo
- nodeThreadPoolsSnapshot :: NodeThreadPoolInfo
- nodeThreadPoolsGet :: NodeThreadPoolInfo
- nodeThreadPoolsFetchShardStore :: Maybe NodeThreadPoolInfo
- nodeThreadPoolsIndex :: NodeThreadPoolInfo
- nodeThreadPoolsGeneric :: NodeThreadPoolInfo
- data NodeThreadPoolInfo = NodeThreadPoolInfo {}
- data ThreadPoolSize
- data ThreadPoolType
- data NodeJVMInfo = NodeJVMInfo {}
- newtype JVMVersion = JVMVersion {
- unJVMVersion :: Text
- data JVMMemoryInfo = JVMMemoryInfo {}
- newtype VMVersion = VMVersion {
- unVMVersion :: Text
- newtype JVMMemoryPool = JVMMemoryPool {}
- newtype JVMGCCollector = JVMGCCollector {}
- newtype PID = PID {}
- data NodeOSInfo = NodeOSInfo {}
- data CPUInfo = CPUInfo {
- cpuCacheSize :: Bytes
- cpuCoresPerSocket :: Int
- cpuTotalSockets :: Int
- cpuTotalCores :: Int
- cpuMHZ :: Int
- cpuModel :: Text
- cpuVendor :: Text
- data NodeProcessInfo = NodeProcessInfo {}
- data ShardResult = ShardResult {
- shardTotal :: Int
- shardsSuccessful :: Int
- shardsFailed :: Int
- data SnapshotState
- data SnapshotRestoreSettings = SnapshotRestoreSettings {
- snapRestoreWaitForCompletion :: Bool
- snapRestoreIndices :: Maybe IndexSelection
- snapRestoreIgnoreUnavailable :: Bool
- snapRestoreIncludeGlobalState :: Bool
- snapRestoreRenamePattern :: Maybe RestoreRenamePattern
- snapRestoreRenameReplacement :: Maybe (NonEmpty RestoreRenameToken)
- snapRestorePartial :: Bool
- snapRestoreIncludeAliases :: Bool
- snapRestoreIndexSettingsOverrides :: Maybe RestoreIndexSettings
- snapRestoreIgnoreIndexSettings :: Maybe (NonEmpty Text)
- newtype SnapshotRepoUpdateSettings = SnapshotRepoUpdateSettings {}
- defaultSnapshotRepoUpdateSettings :: SnapshotRepoUpdateSettings
- data FsSnapshotRepo = FsSnapshotRepo {}
- parseRepo :: Parser a -> Either SnapshotRepoConversionError a
- fsRepoType :: SnapshotRepoType
- class SnapshotRepo r where
- data SnapshotRepoConversionError
- data SnapshotCreateSettings = SnapshotCreateSettings {}
- defaultSnapshotCreateSettings :: SnapshotCreateSettings
- data SnapshotSelection
- data SnapshotPattern
- data SnapshotInfo = SnapshotInfo {}
- data SnapshotShardFailure = SnapshotShardFailure {}
- newtype RestoreRenamePattern = RestoreRenamePattern {}
- data RestoreRenameToken
- newtype RRGroupRefNum = RRGroupRefNum {
- rrGroupRefNum :: Int
- mkRRGroupRefNum :: Int -> Maybe RRGroupRefNum
- defaultSnapshotRestoreSettings :: SnapshotRestoreSettings
- newtype RestoreIndexSettings = RestoreIndexSettings {}
- parseNodeStats :: FullNodeId -> Object -> Parser NodeStats
- parseNodeInfo :: FullNodeId -> Object -> Parser NodeInfo
- data TimeInterval
- data Interval
- parseStringInterval :: (Monad m, MonadFail m) => String -> m NominalDiffTime
Documentation
Common environment for Elasticsearch calls. Connections will be pipelined according to the provided HTTP connection manager.
Server
is used with the client functions to point at the ES instance
class (Functor m, Applicative m, MonadIO m) => MonadBH m where Source #
All API calls to Elasticsearch operate within
MonadBH
. The idea is that it can be easily embedded in your
own monad transformer stack. A default instance for a ReaderT and
alias BH
is provided for the simple case.
mkBHEnv :: Server -> Manager -> BHEnv Source #
Create a BHEnv
with all optional fields defaulted. HTTP hook
will be a noop. You can use the exported fields to customize
it further, e.g.:
> (mkBHEnv myServer myManager) { bhRequestHook = customHook }
Instances
newtype VersionNumber Source #
Traditional software versioning number
Instances
Status
is a data type for describing the JSON body returned by
Elasticsearch when you query its status. This was deprecated in 1.2.0.
data IndexSettings Source #
IndexSettings
is used to configure the shards and replicas when
you create an Elasticsearch Index.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-create-index.html
Instances
FromJSON IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexSettings Source # parseJSONList :: Value -> Parser [IndexSettings] Source # | |
ToJSON IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexSettings -> Value Source # toEncoding :: IndexSettings -> Encoding Source # toJSONList :: [IndexSettings] -> Value Source # toEncodingList :: [IndexSettings] -> Encoding Source # | |
Show IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSettings -> ShowS # show :: IndexSettings -> String # showList :: [IndexSettings] -> ShowS # | |
Eq IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSettings -> IndexSettings -> Bool # (/=) :: IndexSettings -> IndexSettings -> Bool # |
defaultIndexSettings :: IndexSettings Source #
defaultIndexSettings
is an IndexSettings
with 3 shards and
2 replicas.
data ForceMergeIndexSettings Source #
ForceMergeIndexSettings
is used to configure index optimization. See
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-forcemerge.html
for more info.
ForceMergeIndexSettings | |
|
Instances
Show ForceMergeIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ForceMergeIndexSettings -> ShowS # show :: ForceMergeIndexSettings -> String # showList :: [ForceMergeIndexSettings] -> ShowS # | |
Eq ForceMergeIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client |
defaultForceMergeIndexSettings :: ForceMergeIndexSettings Source #
defaultForceMergeIndexSettings
implements the default settings that
Elasticsearch uses for index optimization. maxNumSegments
is Nothing,
onlyExpungeDeletes
is False, and flushAfterOptimize is True.
data UpdatableIndexSetting Source #
UpdatableIndexSetting
are settings which may be updated after an index is created.
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html
NumberOfReplicas ReplicaCount | The number of replicas each shard has. |
AutoExpandReplicas ReplicaBounds | |
BlocksReadOnly Bool | Set to True to have the index read only. False to allow writes and metadata changes. |
BlocksRead Bool | Set to True to disable read operations against the index. |
BlocksWrite Bool | Set to True to disable write operations against the index. |
BlocksMetaData Bool | Set to True to disable metadata operations against the index. |
RefreshInterval NominalDiffTime | The async refresh interval of a shard |
IndexConcurrency Int | |
FailOnMergeFailure Bool | |
TranslogFlushThresholdOps Int | When to flush on operations. |
TranslogFlushThresholdSize Bytes | When to flush based on translog (bytes) size. |
TranslogFlushThresholdPeriod NominalDiffTime | When to flush based on a period of not flushing. |
TranslogDisableFlush Bool | Disables flushing. Note, should be set for a short interval and then enabled. |
CacheFilterMaxSize (Maybe Bytes) | The maximum size of filter cache (per segment in shard). |
CacheFilterExpire (Maybe NominalDiffTime) | The expire after access time for filter cache. |
GatewaySnapshotInterval NominalDiffTime | The gateway snapshot interval (only applies to shared gateways). |
RoutingAllocationInclude (NonEmpty NodeAttrFilter) | A node matching any rule will be allowed to host shards from the index. |
RoutingAllocationExclude (NonEmpty NodeAttrFilter) | A node matching any rule will NOT be allowed to host shards from the index. |
RoutingAllocationRequire (NonEmpty NodeAttrFilter) | Only nodes matching all rules will be allowed to host shards from the index. |
RoutingAllocationEnable AllocationPolicy | Enables shard allocation for a specific index. |
RoutingAllocationShardsPerNode ShardCount | Controls the total number of shards (replicas and primaries) allowed to be allocated on a single node. |
RecoveryInitialShards InitialShardCount | When using local gateway a particular shard is recovered only if there can be allocated quorum shards in the cluster. |
GCDeletes NominalDiffTime | |
TTLDisablePurge Bool | Disables temporarily the purge of expired docs. |
TranslogFSType FSType | |
CompressionSetting Compression | |
IndexCompoundFormat CompoundFormat | |
IndexCompoundOnFlush Bool | |
WarmerEnabled Bool | |
MappingTotalFieldsLimit Int | |
AnalysisSetting Analysis | Analysis is not a dynamic setting and can only be performed on a closed index. |
UnassignedNodeLeftDelayedTimeout NominalDiffTime | Sets a delay to the allocation of replica shards which become unassigned because a node has left, giving them chance to return. See https://www.elastic.co/guide/en/elasticsearch/reference/5.6/delayed-allocation.html |
Instances
FromJSON UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client | |
ToJSON UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpdatableIndexSetting -> ShowS # show :: UpdatableIndexSetting -> String # showList :: [UpdatableIndexSetting] -> ShowS # | |
Eq UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpdatableIndexSetting -> UpdatableIndexSetting -> Bool # (/=) :: UpdatableIndexSetting -> UpdatableIndexSetting -> Bool # |
parseAttrFilter :: Value -> Parser (NonEmpty NodeAttrFilter) Source #
data ReplicaBounds Source #
Instances
FromJSON ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ReplicaBounds Source # parseJSONList :: Value -> Parser [ReplicaBounds] Source # | |
ToJSON ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: ReplicaBounds -> Value Source # toEncoding :: ReplicaBounds -> Encoding Source # toJSONList :: [ReplicaBounds] -> Value Source # toEncodingList :: [ReplicaBounds] -> Encoding Source # | |
Show ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ReplicaBounds -> ShowS # show :: ReplicaBounds -> String # showList :: [ReplicaBounds] -> ShowS # | |
Eq ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ReplicaBounds -> ReplicaBounds -> Bool # (/=) :: ReplicaBounds -> ReplicaBounds -> Bool # |
data Compression Source #
CompressionDefault | Compress with LZ4 |
CompressionBest | Compress with DEFLATE. Elastic blogs that this can reduce disk use by 15%-25%. |
Instances
FromJSON Compression Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser Compression Source # parseJSONList :: Value -> Parser [Compression] Source # | |
ToJSON Compression Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: Compression -> Value Source # toEncoding :: Compression -> Encoding Source # toJSONList :: [Compression] -> Value Source # toEncodingList :: [Compression] -> Encoding Source # | |
Show Compression Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> Compression -> ShowS # show :: Compression -> String # showList :: [Compression] -> ShowS # | |
Eq Compression Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: Compression -> Compression -> Bool # (/=) :: Compression -> Compression -> Bool # |
A measure of bytes used for various configurations. You may want
to use smart constructors like gigabytes
for larger values.
>>>
gigabytes 9
Bytes 9000000000
>>>
megabytes 9
Bytes 9000000
>>>
kilobytes 9
Bytes 9000
data InitialShardCount Source #
Instances
FromJSON InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser InitialShardCount Source # parseJSONList :: Value -> Parser [InitialShardCount] Source # | |
ToJSON InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: InitialShardCount -> Value Source # toEncoding :: InitialShardCount -> Encoding Source # toJSONList :: [InitialShardCount] -> Value Source # toEncodingList :: [InitialShardCount] -> Encoding Source # | |
Show InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> InitialShardCount -> ShowS # show :: InitialShardCount -> String # showList :: [InitialShardCount] -> ShowS # | |
Eq InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: InitialShardCount -> InitialShardCount -> Bool # (/=) :: InitialShardCount -> InitialShardCount -> Bool # |
data NodeAttrFilter Source #
Instances
Show NodeAttrFilter Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeAttrFilter -> ShowS # show :: NodeAttrFilter -> String # showList :: [NodeAttrFilter] -> ShowS # | |
Eq NodeAttrFilter Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeAttrFilter -> NodeAttrFilter -> Bool # (/=) :: NodeAttrFilter -> NodeAttrFilter -> Bool # | |
Ord NodeAttrFilter Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: NodeAttrFilter -> NodeAttrFilter -> Ordering # (<) :: NodeAttrFilter -> NodeAttrFilter -> Bool # (<=) :: NodeAttrFilter -> NodeAttrFilter -> Bool # (>) :: NodeAttrFilter -> NodeAttrFilter -> Bool # (>=) :: NodeAttrFilter -> NodeAttrFilter -> Bool # max :: NodeAttrFilter -> NodeAttrFilter -> NodeAttrFilter # min :: NodeAttrFilter -> NodeAttrFilter -> NodeAttrFilter # |
newtype NodeAttrName Source #
Instances
Show NodeAttrName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeAttrName -> ShowS # show :: NodeAttrName -> String # showList :: [NodeAttrName] -> ShowS # | |
Eq NodeAttrName Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeAttrName -> NodeAttrName -> Bool # (/=) :: NodeAttrName -> NodeAttrName -> Bool # | |
Ord NodeAttrName Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: NodeAttrName -> NodeAttrName -> Ordering # (<) :: NodeAttrName -> NodeAttrName -> Bool # (<=) :: NodeAttrName -> NodeAttrName -> Bool # (>) :: NodeAttrName -> NodeAttrName -> Bool # (>=) :: NodeAttrName -> NodeAttrName -> Bool # max :: NodeAttrName -> NodeAttrName -> NodeAttrName # min :: NodeAttrName -> NodeAttrName -> NodeAttrName # |
data CompoundFormat Source #
CompoundFileFormat Bool | |
MergeSegmentVsTotalIndex Double | percentage between 0 and 1 where 0 is false, 1 is true |
Instances
FromJSON CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser CompoundFormat Source # parseJSONList :: Value -> Parser [CompoundFormat] Source # | |
ToJSON CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: CompoundFormat -> Value Source # toEncoding :: CompoundFormat -> Encoding Source # toJSONList :: [CompoundFormat] -> Value Source # toEncodingList :: [CompoundFormat] -> Encoding Source # | |
Show CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> CompoundFormat -> ShowS # show :: CompoundFormat -> String # showList :: [CompoundFormat] -> ShowS # | |
Eq CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: CompoundFormat -> CompoundFormat -> Bool # (/=) :: CompoundFormat -> CompoundFormat -> Bool # |
newtype NominalDiffTimeJSON Source #
Instances
FromJSON NominalDiffTimeJSON Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NominalDiffTimeJSON Source # parseJSONList :: Value -> Parser [NominalDiffTimeJSON] Source # | |
ToJSON NominalDiffTimeJSON Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: NominalDiffTimeJSON -> Value Source # toEncoding :: NominalDiffTimeJSON -> Encoding Source # toJSONList :: [NominalDiffTimeJSON] -> Value Source # toEncodingList :: [NominalDiffTimeJSON] -> Encoding Source # |
data IndexSettingsSummary Source #
Instances
FromJSON IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSettingsSummary -> ShowS # show :: IndexSettingsSummary -> String # showList :: [IndexSettingsSummary] -> ShowS # | |
Eq IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSettingsSummary -> IndexSettingsSummary -> Bool # (/=) :: IndexSettingsSummary -> IndexSettingsSummary -> Bool # |
data OpenCloseIndex Source #
OpenCloseIndex
is a sum type for opening and closing indices.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-open-close.html
Instances
Show OpenCloseIndex Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> OpenCloseIndex -> ShowS # show :: OpenCloseIndex -> String # showList :: [OpenCloseIndex] -> ShowS # | |
Eq OpenCloseIndex Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: OpenCloseIndex -> OpenCloseIndex -> Bool # (/=) :: OpenCloseIndex -> OpenCloseIndex -> Bool # |
newtype FieldDefinition Source #
Instances
Show FieldDefinition Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FieldDefinition -> ShowS # show :: FieldDefinition -> String # showList :: [FieldDefinition] -> ShowS # | |
Eq FieldDefinition Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: FieldDefinition -> FieldDefinition -> Bool # (/=) :: FieldDefinition -> FieldDefinition -> Bool # |
data IndexTemplate Source #
An IndexTemplate
defines a template that will automatically be
applied to new indices created. The templates include both
IndexSettings
and mappings, and a simple TemplatePattern
that
controls if the template will be applied to the index created.
Specify mappings as follows: [toJSON TweetMapping, ...]
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-templates.html
Instances
ToJSON IndexTemplate Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexTemplate -> Value Source # toEncoding :: IndexTemplate -> Encoding Source # toJSONList :: [IndexTemplate] -> Value Source # toEncodingList :: [IndexTemplate] -> Encoding Source # |
data MappingField Source #
Instances
Show MappingField Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> MappingField -> ShowS # show :: MappingField -> String # showList :: [MappingField] -> ShowS # | |
Eq MappingField Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: MappingField -> MappingField -> Bool # (/=) :: MappingField -> MappingField -> Bool # |
Support for type reification of Mapping
s is currently incomplete, for
now the mapping API verbiage expects a ToJSON
able blob.
Indexes have mappings, mappings are schemas for the documents contained in the index. I'd recommend having only one mapping per index, always having a mapping, and keeping different kinds of documents separated if possible.
Mapping | |
|
data UpsertActionMetadata Source #
Instances
Show UpsertActionMetadata Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpsertActionMetadata -> ShowS # show :: UpsertActionMetadata -> String # showList :: [UpsertActionMetadata] -> ShowS # | |
Eq UpsertActionMetadata Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpsertActionMetadata -> UpsertActionMetadata -> Bool # (/=) :: UpsertActionMetadata -> UpsertActionMetadata -> Bool # |
data UpsertPayload Source #
Instances
Show UpsertPayload Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpsertPayload -> ShowS # show :: UpsertPayload -> String # showList :: [UpsertPayload] -> ShowS # | |
Eq UpsertPayload Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpsertPayload -> UpsertPayload -> Bool # (/=) :: UpsertPayload -> UpsertPayload -> Bool # |
data AllocationPolicy Source #
AllocAll | Allows shard allocation for all shards. |
AllocPrimaries | Allows shard allocation only for primary shards. |
AllocNewPrimaries | Allows shard allocation only for primary shards for new indices. |
AllocNone | No shard allocation is allowed |
Instances
FromJSON AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser AllocationPolicy Source # parseJSONList :: Value -> Parser [AllocationPolicy] Source # | |
ToJSON AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: AllocationPolicy -> Value Source # toEncoding :: AllocationPolicy -> Encoding Source # toJSONList :: [AllocationPolicy] -> Value Source # toEncodingList :: [AllocationPolicy] -> Encoding Source # | |
Show AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> AllocationPolicy -> ShowS # show :: AllocationPolicy -> String # showList :: [AllocationPolicy] -> ShowS # | |
Eq AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: AllocationPolicy -> AllocationPolicy -> Bool # (/=) :: AllocationPolicy -> AllocationPolicy -> Bool # |
data BulkOperation Source #
BulkOperation
is a sum type for expressing the four kinds of bulk
operation index, create, delete, and update. BulkIndex
behaves like an
"upsert", BulkCreate
will fail if a document already exists at the DocId.
Consult the Bulk API documentation
for further explanation.
Warning: Bulk operations suffixed with Auto
rely on Elasticsearch to
generate the id. Often, people use auto-generated identifiers when
Elasticsearch is the only place that their data is stored. Do not let
Elasticsearch be the only place your data is stored. It does not guarantee
durability, and it may silently discard data.
This issue is
discussed further on github.
BulkIndex IndexName MappingName DocId Value | Create the document, replacing it if it already exists. |
BulkIndexAuto IndexName MappingName Value | Create a document with an autogenerated id. |
BulkIndexEncodingAuto IndexName MappingName Encoding | Create a document with an autogenerated id. Use fast JSON encoding. |
BulkCreate IndexName MappingName DocId Value | Create a document, failing if it already exists. |
BulkCreateEncoding IndexName MappingName DocId Encoding | Create a document, failing if it already exists. Use fast JSON encoding. |
BulkDelete IndexName MappingName DocId | Delete the document |
BulkUpdate IndexName MappingName DocId Value | Update the document, merging the new value with the existing one. |
BulkUpsert IndexName MappingName DocId UpsertPayload [UpsertActionMetadata] | Update the document if it already exists, otherwise insert it. |
Instances
Show BulkOperation Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> BulkOperation -> ShowS # show :: BulkOperation -> String # showList :: [BulkOperation] -> ShowS # | |
Eq BulkOperation Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: BulkOperation -> BulkOperation -> Bool # (/=) :: BulkOperation -> BulkOperation -> Bool # |
EsResult
describes the standard wrapper JSON document that you see in
successful Elasticsearch lookups or lookups that couldn't find the document.
EsResult | |
|
data EsResultFound a Source #
EsResultFound
contains the document and its metadata inside of an
EsResult
when the document was successfully found.
EsResultFound | |
|
Instances
FromJSON a => FromJSON (EsResultFound a) Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser (EsResultFound a) Source # parseJSONList :: Value -> Parser [EsResultFound a] Source # | |
Show a => Show (EsResultFound a) Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> EsResultFound a -> ShowS # show :: EsResultFound a -> String # showList :: [EsResultFound a] -> ShowS # | |
Eq a => Eq (EsResultFound a) Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsResultFound a -> EsResultFound a -> Bool # (/=) :: EsResultFound a -> EsResultFound a -> Bool # |
EsError
is the generic type that will be returned when there was a
problem. If you can't parse the expected response, its a good idea to
try parsing this.
EsError | |
|
data EsProtocolException Source #
EsProtocolException
will be thrown if Bloodhound cannot parse a response
returned by the Elasticsearch server. If you encounter this error, please
verify that your domain data types and FromJSON instances are working properly
(for example, the a
of '[Hit a]' in 'SearchResult.searchHits.hits'). If you're
sure that your mappings are correct, then this error may be an indication of an
incompatibility between Bloodhound and Elasticsearch. Please open a bug report
and be sure to include the exception body.
EsProtocolException | |
|
Instances
Exception EsProtocolException Source # | |
Show EsProtocolException Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> EsProtocolException -> ShowS # show :: EsProtocolException -> String # showList :: [EsProtocolException] -> ShowS # | |
Eq EsProtocolException Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsProtocolException -> EsProtocolException -> Bool # (/=) :: EsProtocolException -> EsProtocolException -> Bool # |
data IndexAlias Source #
Instances
ToJSON IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAlias -> Value Source # toEncoding :: IndexAlias -> Encoding Source # toJSONList :: [IndexAlias] -> Value Source # toEncodingList :: [IndexAlias] -> Encoding Source # | |
Show IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAlias -> ShowS # show :: IndexAlias -> String # showList :: [IndexAlias] -> ShowS # | |
Eq IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAlias -> IndexAlias -> Bool # (/=) :: IndexAlias -> IndexAlias -> Bool # |
data IndexAliasAction Source #
Instances
ToJSON IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasAction -> Value Source # toEncoding :: IndexAliasAction -> Encoding Source # toJSONList :: [IndexAliasAction] -> Value Source # toEncodingList :: [IndexAliasAction] -> Encoding Source # | |
Show IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasAction -> ShowS # show :: IndexAliasAction -> String # showList :: [IndexAliasAction] -> ShowS # | |
Eq IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasAction -> IndexAliasAction -> Bool # (/=) :: IndexAliasAction -> IndexAliasAction -> Bool # |
data IndexAliasCreate Source #
Instances
FromJSON IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasCreate Source # parseJSONList :: Value -> Parser [IndexAliasCreate] Source # | |
ToJSON IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasCreate -> Value Source # toEncoding :: IndexAliasCreate -> Encoding Source # toJSONList :: [IndexAliasCreate] -> Value Source # toEncodingList :: [IndexAliasCreate] -> Encoding Source # | |
Show IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasCreate -> ShowS # show :: IndexAliasCreate -> String # showList :: [IndexAliasCreate] -> ShowS # | |
Eq IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasCreate -> IndexAliasCreate -> Bool # (/=) :: IndexAliasCreate -> IndexAliasCreate -> Bool # |
data AliasRouting Source #
AllAliasRouting RoutingValue | |
GranularAliasRouting (Maybe SearchAliasRouting) (Maybe IndexAliasRouting) |
Instances
FromJSON AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser AliasRouting Source # parseJSONList :: Value -> Parser [AliasRouting] Source # | |
ToJSON AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: AliasRouting -> Value Source # toEncoding :: AliasRouting -> Encoding Source # toJSONList :: [AliasRouting] -> Value Source # toEncodingList :: [AliasRouting] -> Encoding Source # | |
Show AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> AliasRouting -> ShowS # show :: AliasRouting -> String # showList :: [AliasRouting] -> ShowS # | |
Eq AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: AliasRouting -> AliasRouting -> Bool # (/=) :: AliasRouting -> AliasRouting -> Bool # |
newtype SearchAliasRouting Source #
Instances
FromJSON SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SearchAliasRouting Source # parseJSONList :: Value -> Parser [SearchAliasRouting] Source # | |
ToJSON SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: SearchAliasRouting -> Value Source # toEncoding :: SearchAliasRouting -> Encoding Source # toJSONList :: [SearchAliasRouting] -> Value Source # toEncodingList :: [SearchAliasRouting] -> Encoding Source # | |
Show SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SearchAliasRouting -> ShowS # show :: SearchAliasRouting -> String # showList :: [SearchAliasRouting] -> ShowS # | |
Eq SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SearchAliasRouting -> SearchAliasRouting -> Bool # (/=) :: SearchAliasRouting -> SearchAliasRouting -> Bool # |
newtype IndexAliasRouting Source #
Instances
FromJSON IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasRouting Source # parseJSONList :: Value -> Parser [IndexAliasRouting] Source # | |
ToJSON IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasRouting -> Value Source # toEncoding :: IndexAliasRouting -> Encoding Source # toJSONList :: [IndexAliasRouting] -> Value Source # toEncodingList :: [IndexAliasRouting] -> Encoding Source # | |
Show IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasRouting -> ShowS # show :: IndexAliasRouting -> String # showList :: [IndexAliasRouting] -> ShowS # | |
Eq IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasRouting -> IndexAliasRouting -> Bool # (/=) :: IndexAliasRouting -> IndexAliasRouting -> Bool # |
newtype RoutingValue Source #
Instances
FromJSON RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser RoutingValue Source # parseJSONList :: Value -> Parser [RoutingValue] Source # | |
ToJSON RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: RoutingValue -> Value Source # toEncoding :: RoutingValue -> Encoding Source # toJSONList :: [RoutingValue] -> Value Source # toEncodingList :: [RoutingValue] -> Encoding Source # | |
Show RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RoutingValue -> ShowS # show :: RoutingValue -> String # showList :: [RoutingValue] -> ShowS # | |
Eq RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RoutingValue -> RoutingValue -> Bool # (/=) :: RoutingValue -> RoutingValue -> Bool # |
newtype IndexAliasesSummary Source #
Instances
FromJSON IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasesSummary Source # parseJSONList :: Value -> Parser [IndexAliasesSummary] Source # | |
Show IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasesSummary -> ShowS # show :: IndexAliasesSummary -> String # showList :: [IndexAliasesSummary] -> ShowS # | |
Eq IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasesSummary -> IndexAliasesSummary -> Bool # (/=) :: IndexAliasesSummary -> IndexAliasesSummary -> Bool # |
data IndexAliasSummary Source #
IndexAliasSummary
is a summary of an index alias configured for a server.
Instances
Show IndexAliasSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasSummary -> ShowS # show :: IndexAliasSummary -> String # showList :: [IndexAliasSummary] -> ShowS # | |
Eq IndexAliasSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasSummary -> IndexAliasSummary -> Bool # (/=) :: IndexAliasSummary -> IndexAliasSummary -> Bool # |
newtype DocVersion Source #
DocVersion
is an integer version number for a document between 1
and 9.2e+18 used for .
Instances
mkDocVersion :: Int -> Maybe DocVersion Source #
Smart constructor for in-range doc version
newtype ExternalDocVersion Source #
ExternalDocVersion
is a convenience wrapper if your code uses its
own version numbers instead of ones from ES.
Instances
data VersionControl Source #
VersionControl
is specified when indexing documents as a
optimistic concurrency control.
NoVersionControl | Don't send a version. This is a pure overwrite. |
InternalVersion DocVersion | Use the default ES versioning scheme. Only index the document if the version is the same as the one specified. Only applicable to updates, as you should be getting Version from a search result. |
ExternalGT ExternalDocVersion | Use your own version numbering. Only index the document if the version is strictly higher OR the document doesn't exist. The given version will be used as the new version number for the stored document. N.B. All updates must increment this number, meaning there is some global, external ordering of updates. |
ExternalGTE ExternalDocVersion | Use your own version numbering. Only index the document if the version is equal or higher than the stored version. Will succeed if there is no existing document. The given version will be used as the new version number for the stored document. Use with care, as this could result in data loss. |
ForceVersion ExternalDocVersion | The document will always be indexed and the given version will be the new version. This is typically used for correcting errors. Use with care, as this could result in data loss. |
Instances
Show VersionControl Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> VersionControl -> ShowS # show :: VersionControl -> String # showList :: [VersionControl] -> ShowS # | |
Eq VersionControl Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: VersionControl -> VersionControl -> Bool # (/=) :: VersionControl -> VersionControl -> Bool # | |
Ord VersionControl Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: VersionControl -> VersionControl -> Ordering # (<) :: VersionControl -> VersionControl -> Bool # (<=) :: VersionControl -> VersionControl -> Bool # (>) :: VersionControl -> VersionControl -> Bool # (>=) :: VersionControl -> VersionControl -> Bool # max :: VersionControl -> VersionControl -> VersionControl # min :: VersionControl -> VersionControl -> VersionControl # |
newtype DocumentParent Source #
DocumentParent
is used to specify a parent document.
Instances
Show DocumentParent Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> DocumentParent -> ShowS # show :: DocumentParent -> String # showList :: [DocumentParent] -> ShowS # | |
Eq DocumentParent Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: DocumentParent -> DocumentParent -> Bool # (/=) :: DocumentParent -> DocumentParent -> Bool # |
data IndexDocumentSettings Source #
IndexDocumentSettings
are special settings supplied when indexing
a document. For the best backwards compatiblity when new fields are
added, you should probably prefer to start with defaultIndexDocumentSettings
Instances
Show IndexDocumentSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexDocumentSettings -> ShowS # show :: IndexDocumentSettings -> String # showList :: [IndexDocumentSettings] -> ShowS # | |
Eq IndexDocumentSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexDocumentSettings -> IndexDocumentSettings -> Bool # (/=) :: IndexDocumentSettings -> IndexDocumentSettings -> Bool # |
defaultIndexDocumentSettings :: IndexDocumentSettings Source #
Reasonable default settings. Chooses no version control and no parent.
data IndexSelection Source #
IndexSelection
is used for APIs which take a single index, a list of
indexes, or the special _all
index.
Instances
Show IndexSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSelection -> ShowS # show :: IndexSelection -> String # showList :: [IndexSelection] -> ShowS # | |
Eq IndexSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSelection -> IndexSelection -> Bool # (/=) :: IndexSelection -> IndexSelection -> Bool # |
data NodeSelection Source #
NodeSelection
is used for most cluster APIs. See here for more details.
LocalNode | Whatever node receives this request |
NodeList (NonEmpty NodeSelector) | |
AllNodes |
Instances
Show NodeSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeSelection -> ShowS # show :: NodeSelection -> String # showList :: [NodeSelection] -> ShowS # | |
Eq NodeSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeSelection -> NodeSelection -> Bool # (/=) :: NodeSelection -> NodeSelection -> Bool # |
data NodeSelector Source #
An exact match or pattern to identify a node. Note that All of these options support wildcarding, so your node name, server, attr name can all contain * characters to be a fuzzy match.
NodeByName NodeName | |
NodeByFullNodeId FullNodeId | |
NodeByHost Server | e.g. 10.0.0.1 or even 10.0.0.* |
NodeByAttribute NodeAttrName Text | NodeAttrName can be a pattern, e.g. rack*. The value can too. |
Instances
Show NodeSelector Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeSelector -> ShowS # show :: NodeSelector -> String # showList :: [NodeSelector] -> ShowS # | |
Eq NodeSelector Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeSelector -> NodeSelector -> Bool # (/=) :: NodeSelector -> NodeSelector -> Bool # |
newtype TemplateName Source #
TemplateName
is used to describe which template to querycreatedelete
Instances
FromJSON TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser TemplateName Source # parseJSONList :: Value -> Parser [TemplateName] Source # | |
ToJSON TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: TemplateName -> Value Source # toEncoding :: TemplateName -> Encoding Source # toJSONList :: [TemplateName] -> Value Source # toEncodingList :: [TemplateName] -> Encoding Source # | |
Show TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> TemplateName -> ShowS # show :: TemplateName -> String # showList :: [TemplateName] -> ShowS # | |
Eq TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: TemplateName -> TemplateName -> Bool # (/=) :: TemplateName -> TemplateName -> Bool # |
newtype TemplatePattern Source #
TemplatePattern
represents a pattern which is matched against index names
Instances
FromJSON TemplatePattern Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser TemplatePattern Source # parseJSONList :: Value -> Parser [TemplatePattern] Source # | |
ToJSON TemplatePattern Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: TemplatePattern -> Value Source # toEncoding :: TemplatePattern -> Encoding Source # toJSONList :: [TemplatePattern] -> Value Source # toEncodingList :: [TemplatePattern] -> Encoding Source # | |
Show TemplatePattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> TemplatePattern -> ShowS # show :: TemplatePattern -> String # showList :: [TemplatePattern] -> ShowS # | |
Eq TemplatePattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: TemplatePattern -> TemplatePattern -> Bool # (/=) :: TemplatePattern -> TemplatePattern -> Bool # |
newtype EsUsername Source #
Username type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Read EsUsername Source # | |
Defined in Database.Bloodhound.Internal.Client readsPrec :: Int -> ReadS EsUsername # readList :: ReadS [EsUsername] # readPrec :: ReadPrec EsUsername # readListPrec :: ReadPrec [EsUsername] # | |
Show EsUsername Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> EsUsername -> ShowS # show :: EsUsername -> String # showList :: [EsUsername] -> ShowS # | |
Eq EsUsername Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsUsername -> EsUsername -> Bool # (/=) :: EsUsername -> EsUsername -> Bool # |
newtype EsPassword Source #
Password type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Read EsPassword Source # | |
Defined in Database.Bloodhound.Internal.Client readsPrec :: Int -> ReadS EsPassword # readList :: ReadS [EsPassword] # readPrec :: ReadPrec EsPassword # readListPrec :: ReadPrec [EsPassword] # | |
Show EsPassword Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> EsPassword -> ShowS # show :: EsPassword -> String # showList :: [EsPassword] -> ShowS # | |
Eq EsPassword Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsPassword -> EsPassword -> Bool # (/=) :: EsPassword -> EsPassword -> Bool # |
data SnapshotRepoSelection Source #
Instances
Show SnapshotRepoSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRepoSelection -> ShowS # show :: SnapshotRepoSelection -> String # showList :: [SnapshotRepoSelection] -> ShowS # | |
Eq SnapshotRepoSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotRepoSelection -> SnapshotRepoSelection -> Bool # (/=) :: SnapshotRepoSelection -> SnapshotRepoSelection -> Bool # |
data SnapshotRepoPattern Source #
Either specifies an exact repo name or one with globs in it,
e.g. RepoPattern "foo*"
NOTE: Patterns are not supported on ES < 1.7
Instances
Show SnapshotRepoPattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRepoPattern -> ShowS # show :: SnapshotRepoPattern -> String # showList :: [SnapshotRepoPattern] -> ShowS # | |
Eq SnapshotRepoPattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotRepoPattern -> SnapshotRepoPattern -> Bool # (/=) :: SnapshotRepoPattern -> SnapshotRepoPattern -> Bool # |
newtype SnapshotRepoName Source #
The unique name of a snapshot repository.
Instances
data GenericSnapshotRepo Source #
A generic representation of a snapshot repo. This is what gets
sent to and parsed from the server. For repo types enabled by
plugins that aren't exported by this library, consider making a
custom type which implements SnapshotRepo
. If it is a common repo
type, consider submitting a pull request to have it included in the
library proper
Instances
Show GenericSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> GenericSnapshotRepo -> ShowS # show :: GenericSnapshotRepo -> String # showList :: [GenericSnapshotRepo] -> ShowS # | |
SnapshotRepo GenericSnapshotRepo Source # | |
Eq GenericSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: GenericSnapshotRepo -> GenericSnapshotRepo -> Bool # (/=) :: GenericSnapshotRepo -> GenericSnapshotRepo -> Bool # |
newtype SnapshotRepoType Source #
Instances
newtype GenericSnapshotRepoSettings Source #
Opaque representation of snapshot repo settings. Instances of
SnapshotRepo
will produce this.
Instances
newtype SnapshotVerification Source #
The result of running verifySnapshotRepo
.
Instances
FromJSON SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotVerification -> ShowS # show :: SnapshotVerification -> String # showList :: [SnapshotVerification] -> ShowS # | |
Eq SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotVerification -> SnapshotVerification -> Bool # (/=) :: SnapshotVerification -> SnapshotVerification -> Bool # |
data SnapshotNodeVerification Source #
A node that has verified a snapshot
Instances
Show SnapshotNodeVerification Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotNodeVerification -> ShowS # show :: SnapshotNodeVerification -> String # showList :: [SnapshotNodeVerification] -> ShowS # | |
Eq SnapshotNodeVerification Source # | |
Defined in Database.Bloodhound.Internal.Client |
newtype FullNodeId Source #
Unique, automatically-generated name assigned to nodes that are usually returned in node-oriented APIs.
Instances
FromJSON FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser FullNodeId Source # parseJSONList :: Value -> Parser [FullNodeId] Source # | |
Show FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FullNodeId -> ShowS # show :: FullNodeId -> String # showList :: [FullNodeId] -> ShowS # | |
Eq FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: FullNodeId -> FullNodeId -> Bool # (/=) :: FullNodeId -> FullNodeId -> Bool # | |
Ord FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: FullNodeId -> FullNodeId -> Ordering # (<) :: FullNodeId -> FullNodeId -> Bool # (<=) :: FullNodeId -> FullNodeId -> Bool # (>) :: FullNodeId -> FullNodeId -> Bool # (>=) :: FullNodeId -> FullNodeId -> Bool # max :: FullNodeId -> FullNodeId -> FullNodeId # min :: FullNodeId -> FullNodeId -> FullNodeId # |
A human-readable node name that is supplied by the user in the node config or automatically generated by Elasticsearch.
newtype ClusterName Source #
Instances
FromJSON ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ClusterName Source # parseJSONList :: Value -> Parser [ClusterName] Source # | |
Show ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ClusterName -> ShowS # show :: ClusterName -> String # showList :: [ClusterName] -> ShowS # | |
Eq ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ClusterName -> ClusterName -> Bool # (/=) :: ClusterName -> ClusterName -> Bool # | |
Ord ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: ClusterName -> ClusterName -> Ordering # (<) :: ClusterName -> ClusterName -> Bool # (<=) :: ClusterName -> ClusterName -> Bool # (>) :: ClusterName -> ClusterName -> Bool # (>=) :: ClusterName -> ClusterName -> Bool # max :: ClusterName -> ClusterName -> ClusterName # min :: ClusterName -> ClusterName -> ClusterName # |
data NodesStats Source #
Instances
FromJSON NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodesStats Source # parseJSONList :: Value -> Parser [NodesStats] Source # | |
Show NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodesStats -> ShowS # show :: NodesStats -> String # showList :: [NodesStats] -> ShowS # | |
Eq NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodesStats -> NodesStats -> Bool # (/=) :: NodesStats -> NodesStats -> Bool # |
data NodeBreakersStats Source #
Instances
FromJSON NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeBreakersStats Source # parseJSONList :: Value -> Parser [NodeBreakersStats] Source # | |
Show NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeBreakersStats -> ShowS # show :: NodeBreakersStats -> String # showList :: [NodeBreakersStats] -> ShowS # | |
Eq NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeBreakersStats -> NodeBreakersStats -> Bool # (/=) :: NodeBreakersStats -> NodeBreakersStats -> Bool # |
data NodeBreakerStats Source #
Instances
FromJSON NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeBreakerStats Source # parseJSONList :: Value -> Parser [NodeBreakerStats] Source # | |
Show NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeBreakerStats -> ShowS # show :: NodeBreakerStats -> String # showList :: [NodeBreakerStats] -> ShowS # | |
Eq NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeBreakerStats -> NodeBreakerStats -> Bool # (/=) :: NodeBreakerStats -> NodeBreakerStats -> Bool # |
data NodeHTTPStats Source #
Instances
FromJSON NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeHTTPStats Source # parseJSONList :: Value -> Parser [NodeHTTPStats] Source # | |
Show NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeHTTPStats -> ShowS # show :: NodeHTTPStats -> String # showList :: [NodeHTTPStats] -> ShowS # | |
Eq NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeHTTPStats -> NodeHTTPStats -> Bool # (/=) :: NodeHTTPStats -> NodeHTTPStats -> Bool # |
data NodeTransportStats Source #
Instances
FromJSON NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeTransportStats Source # parseJSONList :: Value -> Parser [NodeTransportStats] Source # | |
Show NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeTransportStats -> ShowS # show :: NodeTransportStats -> String # showList :: [NodeTransportStats] -> ShowS # | |
Eq NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeTransportStats -> NodeTransportStats -> Bool # (/=) :: NodeTransportStats -> NodeTransportStats -> Bool # |
data NodeFSStats Source #
Instances
FromJSON NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeFSStats Source # parseJSONList :: Value -> Parser [NodeFSStats] Source # | |
Show NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeFSStats -> ShowS # show :: NodeFSStats -> String # showList :: [NodeFSStats] -> ShowS # | |
Eq NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeFSStats -> NodeFSStats -> Bool # (/=) :: NodeFSStats -> NodeFSStats -> Bool # |
data NodeDataPathStats Source #
Instances
FromJSON NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeDataPathStats Source # parseJSONList :: Value -> Parser [NodeDataPathStats] Source # | |
Show NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeDataPathStats -> ShowS # show :: NodeDataPathStats -> String # showList :: [NodeDataPathStats] -> ShowS # | |
Eq NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeDataPathStats -> NodeDataPathStats -> Bool # (/=) :: NodeDataPathStats -> NodeDataPathStats -> Bool # |
data NodeFSTotalStats Source #
Instances
FromJSON NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeFSTotalStats Source # parseJSONList :: Value -> Parser [NodeFSTotalStats] Source # | |
Show NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeFSTotalStats -> ShowS # show :: NodeFSTotalStats -> String # showList :: [NodeFSTotalStats] -> ShowS # | |
Eq NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeFSTotalStats -> NodeFSTotalStats -> Bool # (/=) :: NodeFSTotalStats -> NodeFSTotalStats -> Bool # |
data NodeNetworkStats Source #
Instances
FromJSON NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeNetworkStats Source # parseJSONList :: Value -> Parser [NodeNetworkStats] Source # | |
Show NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkStats -> ShowS # show :: NodeNetworkStats -> String # showList :: [NodeNetworkStats] -> ShowS # | |
Eq NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkStats -> NodeNetworkStats -> Bool # (/=) :: NodeNetworkStats -> NodeNetworkStats -> Bool # |
data NodeThreadPoolsStats Source #
Instances
FromJSON NodeThreadPoolsStats Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show NodeThreadPoolsStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolsStats -> ShowS # show :: NodeThreadPoolsStats -> String # showList :: [NodeThreadPoolsStats] -> ShowS # | |
Eq NodeThreadPoolsStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolsStats -> NodeThreadPoolsStats -> Bool # (/=) :: NodeThreadPoolsStats -> NodeThreadPoolsStats -> Bool # |
data NodeThreadPoolStats Source #
Instances
FromJSON NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeThreadPoolStats Source # parseJSONList :: Value -> Parser [NodeThreadPoolStats] Source # | |
Show NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolStats -> ShowS # show :: NodeThreadPoolStats -> String # showList :: [NodeThreadPoolStats] -> ShowS # | |
Eq NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolStats -> NodeThreadPoolStats -> Bool # (/=) :: NodeThreadPoolStats -> NodeThreadPoolStats -> Bool # |
data NodeJVMStats Source #
Instances
FromJSON NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeJVMStats Source # parseJSONList :: Value -> Parser [NodeJVMStats] Source # | |
Show NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeJVMStats -> ShowS # show :: NodeJVMStats -> String # showList :: [NodeJVMStats] -> ShowS # | |
Eq NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeJVMStats -> NodeJVMStats -> Bool # (/=) :: NodeJVMStats -> NodeJVMStats -> Bool # |
data JVMBufferPoolStats Source #
Instances
FromJSON JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMBufferPoolStats Source # parseJSONList :: Value -> Parser [JVMBufferPoolStats] Source # | |
Show JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMBufferPoolStats -> ShowS # show :: JVMBufferPoolStats -> String # showList :: [JVMBufferPoolStats] -> ShowS # | |
Eq JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMBufferPoolStats -> JVMBufferPoolStats -> Bool # (/=) :: JVMBufferPoolStats -> JVMBufferPoolStats -> Bool # |
data JVMGCStats Source #
Instances
FromJSON JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMGCStats Source # parseJSONList :: Value -> Parser [JVMGCStats] Source # | |
Show JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMGCStats -> ShowS # show :: JVMGCStats -> String # showList :: [JVMGCStats] -> ShowS # | |
Eq JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMGCStats -> JVMGCStats -> Bool # (/=) :: JVMGCStats -> JVMGCStats -> Bool # |
data JVMPoolStats Source #
Instances
FromJSON JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMPoolStats Source # parseJSONList :: Value -> Parser [JVMPoolStats] Source # | |
Show JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMPoolStats -> ShowS # show :: JVMPoolStats -> String # showList :: [JVMPoolStats] -> ShowS # | |
Eq JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMPoolStats -> JVMPoolStats -> Bool # (/=) :: JVMPoolStats -> JVMPoolStats -> Bool # |
data NodeProcessStats Source #
Instances
FromJSON NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeProcessStats Source # parseJSONList :: Value -> Parser [NodeProcessStats] Source # | |
Show NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeProcessStats -> ShowS # show :: NodeProcessStats -> String # showList :: [NodeProcessStats] -> ShowS # | |
Eq NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeProcessStats -> NodeProcessStats -> Bool # (/=) :: NodeProcessStats -> NodeProcessStats -> Bool # |
data NodeOSStats Source #
Instances
FromJSON NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeOSStats Source # parseJSONList :: Value -> Parser [NodeOSStats] Source # | |
Show NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeOSStats -> ShowS # show :: NodeOSStats -> String # showList :: [NodeOSStats] -> ShowS # | |
Eq NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeOSStats -> NodeOSStats -> Bool # (/=) :: NodeOSStats -> NodeOSStats -> Bool # |
LoadAvgs | |
|
data NodeIndicesStats Source #
Instances
FromJSON NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeIndicesStats Source # parseJSONList :: Value -> Parser [NodeIndicesStats] Source # | |
Show NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeIndicesStats -> ShowS # show :: NodeIndicesStats -> String # showList :: [NodeIndicesStats] -> ShowS # | |
Eq NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeIndicesStats -> NodeIndicesStats -> Bool # (/=) :: NodeIndicesStats -> NodeIndicesStats -> Bool # |
A quirky address format used throughout Elasticsearch. An example would be inet[/1.1.1.1:9200]. inet may be a placeholder for a FQDN.
Typically a 7 character hex string.
newtype PluginName Source #
Instances
FromJSON PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser PluginName Source # parseJSONList :: Value -> Parser [PluginName] Source # | |
Show PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> PluginName -> ShowS # show :: PluginName -> String # showList :: [PluginName] -> ShowS # | |
Eq PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: PluginName -> PluginName -> Bool # (/=) :: PluginName -> PluginName -> Bool # | |
Ord PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: PluginName -> PluginName -> Ordering # (<) :: PluginName -> PluginName -> Bool # (<=) :: PluginName -> PluginName -> Bool # (>) :: PluginName -> PluginName -> Bool # (>=) :: PluginName -> PluginName -> Bool # max :: PluginName -> PluginName -> PluginName # min :: PluginName -> PluginName -> PluginName # |
NodeInfo | |
|
data NodePluginInfo Source #
NodePluginInfo | |
|
Instances
FromJSON NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodePluginInfo Source # parseJSONList :: Value -> Parser [NodePluginInfo] Source # | |
Show NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodePluginInfo -> ShowS # show :: NodePluginInfo -> String # showList :: [NodePluginInfo] -> ShowS # | |
Eq NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodePluginInfo -> NodePluginInfo -> Bool # (/=) :: NodePluginInfo -> NodePluginInfo -> Bool # |
data NodeHTTPInfo Source #
Instances
FromJSON NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeHTTPInfo Source # parseJSONList :: Value -> Parser [NodeHTTPInfo] Source # | |
Show NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeHTTPInfo -> ShowS # show :: NodeHTTPInfo -> String # showList :: [NodeHTTPInfo] -> ShowS # | |
Eq NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeHTTPInfo -> NodeHTTPInfo -> Bool # (/=) :: NodeHTTPInfo -> NodeHTTPInfo -> Bool # |
data NodeTransportInfo Source #
Instances
FromJSON NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeTransportInfo Source # parseJSONList :: Value -> Parser [NodeTransportInfo] Source # | |
Show NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeTransportInfo -> ShowS # show :: NodeTransportInfo -> String # showList :: [NodeTransportInfo] -> ShowS # | |
Eq NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeTransportInfo -> NodeTransportInfo -> Bool # (/=) :: NodeTransportInfo -> NodeTransportInfo -> Bool # |
data BoundTransportAddress Source #
Instances
FromJSON BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> BoundTransportAddress -> ShowS # show :: BoundTransportAddress -> String # showList :: [BoundTransportAddress] -> ShowS # | |
Eq BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: BoundTransportAddress -> BoundTransportAddress -> Bool # (/=) :: BoundTransportAddress -> BoundTransportAddress -> Bool # |
data NodeNetworkInfo Source #
Instances
FromJSON NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeNetworkInfo Source # parseJSONList :: Value -> Parser [NodeNetworkInfo] Source # | |
Show NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkInfo -> ShowS # show :: NodeNetworkInfo -> String # showList :: [NodeNetworkInfo] -> ShowS # | |
Eq NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkInfo -> NodeNetworkInfo -> Bool # (/=) :: NodeNetworkInfo -> NodeNetworkInfo -> Bool # |
newtype MacAddress Source #
Instances
FromJSON MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser MacAddress Source # parseJSONList :: Value -> Parser [MacAddress] Source # | |
Show MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> MacAddress -> ShowS # show :: MacAddress -> String # showList :: [MacAddress] -> ShowS # | |
Eq MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: MacAddress -> MacAddress -> Bool # (/=) :: MacAddress -> MacAddress -> Bool # | |
Ord MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: MacAddress -> MacAddress -> Ordering # (<) :: MacAddress -> MacAddress -> Bool # (<=) :: MacAddress -> MacAddress -> Bool # (>) :: MacAddress -> MacAddress -> Bool # (>=) :: MacAddress -> MacAddress -> Bool # max :: MacAddress -> MacAddress -> MacAddress # min :: MacAddress -> MacAddress -> MacAddress # |
newtype NetworkInterfaceName Source #
Instances
data NodeNetworkInterface Source #
Instances
FromJSON NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkInterface -> ShowS # show :: NodeNetworkInterface -> String # showList :: [NodeNetworkInterface] -> ShowS # | |
Eq NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkInterface -> NodeNetworkInterface -> Bool # (/=) :: NodeNetworkInterface -> NodeNetworkInterface -> Bool # |
data NodeThreadPoolsInfo Source #
Instances
FromJSON NodeThreadPoolsInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeThreadPoolsInfo Source # parseJSONList :: Value -> Parser [NodeThreadPoolsInfo] Source # | |
Show NodeThreadPoolsInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolsInfo -> ShowS # show :: NodeThreadPoolsInfo -> String # showList :: [NodeThreadPoolsInfo] -> ShowS # | |
Eq NodeThreadPoolsInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolsInfo -> NodeThreadPoolsInfo -> Bool # (/=) :: NodeThreadPoolsInfo -> NodeThreadPoolsInfo -> Bool # |
data NodeThreadPoolInfo Source #
Instances
FromJSON NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeThreadPoolInfo Source # parseJSONList :: Value -> Parser [NodeThreadPoolInfo] Source # | |
Show NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolInfo -> ShowS # show :: NodeThreadPoolInfo -> String # showList :: [NodeThreadPoolInfo] -> ShowS # | |
Eq NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolInfo -> NodeThreadPoolInfo -> Bool # (/=) :: NodeThreadPoolInfo -> NodeThreadPoolInfo -> Bool # |
data ThreadPoolSize Source #
Instances
FromJSON ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ThreadPoolSize Source # parseJSONList :: Value -> Parser [ThreadPoolSize] Source # | |
Show ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ThreadPoolSize -> ShowS # show :: ThreadPoolSize -> String # showList :: [ThreadPoolSize] -> ShowS # | |
Eq ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ThreadPoolSize -> ThreadPoolSize -> Bool # (/=) :: ThreadPoolSize -> ThreadPoolSize -> Bool # |
data ThreadPoolType Source #
Instances
FromJSON ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ThreadPoolType Source # parseJSONList :: Value -> Parser [ThreadPoolType] Source # | |
Show ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ThreadPoolType -> ShowS # show :: ThreadPoolType -> String # showList :: [ThreadPoolType] -> ShowS # | |
Eq ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ThreadPoolType -> ThreadPoolType -> Bool # (/=) :: ThreadPoolType -> ThreadPoolType -> Bool # |
data NodeJVMInfo Source #
NodeJVMInfo | |
|
Instances
FromJSON NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeJVMInfo Source # parseJSONList :: Value -> Parser [NodeJVMInfo] Source # | |
Show NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeJVMInfo -> ShowS # show :: NodeJVMInfo -> String # showList :: [NodeJVMInfo] -> ShowS # | |
Eq NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeJVMInfo -> NodeJVMInfo -> Bool # (/=) :: NodeJVMInfo -> NodeJVMInfo -> Bool # |
newtype JVMVersion Source #
We cannot parse JVM version numbers and we're not going to try.
Instances
FromJSON JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMVersion Source # parseJSONList :: Value -> Parser [JVMVersion] Source # | |
Show JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMVersion -> ShowS # show :: JVMVersion -> String # showList :: [JVMVersion] -> ShowS # | |
Eq JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMVersion -> JVMVersion -> Bool # (/=) :: JVMVersion -> JVMVersion -> Bool # |
data JVMMemoryInfo Source #
Instances
FromJSON JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMMemoryInfo Source # parseJSONList :: Value -> Parser [JVMMemoryInfo] Source # | |
Show JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMMemoryInfo -> ShowS # show :: JVMMemoryInfo -> String # showList :: [JVMMemoryInfo] -> ShowS # | |
Eq JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMMemoryInfo -> JVMMemoryInfo -> Bool # (/=) :: JVMMemoryInfo -> JVMMemoryInfo -> Bool # |
newtype JVMMemoryPool Source #
Instances
FromJSON JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMMemoryPool Source # parseJSONList :: Value -> Parser [JVMMemoryPool] Source # | |
Show JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMMemoryPool -> ShowS # show :: JVMMemoryPool -> String # showList :: [JVMMemoryPool] -> ShowS # | |
Eq JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMMemoryPool -> JVMMemoryPool -> Bool # (/=) :: JVMMemoryPool -> JVMMemoryPool -> Bool # |
newtype JVMGCCollector Source #
Instances
FromJSON JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMGCCollector Source # parseJSONList :: Value -> Parser [JVMGCCollector] Source # | |
Show JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMGCCollector -> ShowS # show :: JVMGCCollector -> String # showList :: [JVMGCCollector] -> ShowS # | |
Eq JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMGCCollector -> JVMGCCollector -> Bool # (/=) :: JVMGCCollector -> JVMGCCollector -> Bool # |
data NodeOSInfo Source #
Instances
FromJSON NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeOSInfo Source # parseJSONList :: Value -> Parser [NodeOSInfo] Source # | |
Show NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeOSInfo -> ShowS # show :: NodeOSInfo -> String # showList :: [NodeOSInfo] -> ShowS # | |
Eq NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeOSInfo -> NodeOSInfo -> Bool # (/=) :: NodeOSInfo -> NodeOSInfo -> Bool # |
CPUInfo | |
|
data NodeProcessInfo Source #
Instances
FromJSON NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeProcessInfo Source # parseJSONList :: Value -> Parser [NodeProcessInfo] Source # | |
Show NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeProcessInfo -> ShowS # show :: NodeProcessInfo -> String # showList :: [NodeProcessInfo] -> ShowS # | |
Eq NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeProcessInfo -> NodeProcessInfo -> Bool # (/=) :: NodeProcessInfo -> NodeProcessInfo -> Bool # |
data ShardResult Source #
ShardResult | |
|
Instances
FromJSON ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ShardResult Source # parseJSONList :: Value -> Parser [ShardResult] Source # | |
Show ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ShardResult -> ShowS # show :: ShardResult -> String # showList :: [ShardResult] -> ShowS # | |
Eq ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ShardResult -> ShardResult -> Bool # (/=) :: ShardResult -> ShardResult -> Bool # |
data SnapshotState Source #
SnapshotInit | |
SnapshotStarted | |
SnapshotSuccess | |
SnapshotFailed | |
SnapshotAborted | |
SnapshotMissing | |
SnapshotWaiting |
Instances
FromJSON SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotState Source # parseJSONList :: Value -> Parser [SnapshotState] Source # | |
Show SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotState -> ShowS # show :: SnapshotState -> String # showList :: [SnapshotState] -> ShowS # | |
Eq SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotState -> SnapshotState -> Bool # (/=) :: SnapshotState -> SnapshotState -> Bool # |
data SnapshotRestoreSettings Source #
SnapshotRestoreSettings | |
|
Instances
Show SnapshotRestoreSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRestoreSettings -> ShowS # show :: SnapshotRestoreSettings -> String # showList :: [SnapshotRestoreSettings] -> ShowS # | |
Eq SnapshotRestoreSettings Source # | |
Defined in Database.Bloodhound.Internal.Client |
newtype SnapshotRepoUpdateSettings Source #
SnapshotRepoUpdateSettings | |
|
Instances
defaultSnapshotRepoUpdateSettings :: SnapshotRepoUpdateSettings Source #
Reasonable defaults for repo creation/update
- repoUpdateVerify True
data FsSnapshotRepo Source #
A filesystem-based snapshot repo that ships with
Elasticsearch. This is an instance of SnapshotRepo
so it can be
used with updateSnapshotRepo
FsSnapshotRepo | |
|
Instances
Show FsSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FsSnapshotRepo -> ShowS # show :: FsSnapshotRepo -> String # showList :: [FsSnapshotRepo] -> ShowS # | |
SnapshotRepo FsSnapshotRepo Source # | |
Eq FsSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: FsSnapshotRepo -> FsSnapshotRepo -> Bool # (/=) :: FsSnapshotRepo -> FsSnapshotRepo -> Bool # |
class SnapshotRepo r where Source #
Law: fromGSnapshotRepo (toGSnapshotRepo r) == Right r
toGSnapshotRepo :: r -> GenericSnapshotRepo Source #
fromGSnapshotRepo :: GenericSnapshotRepo -> Either SnapshotRepoConversionError r Source #
data SnapshotRepoConversionError Source #
RepoTypeMismatch SnapshotRepoType SnapshotRepoType | Expected type and actual type |
OtherRepoConversionError Text |
Instances
data SnapshotCreateSettings Source #
SnapshotCreateSettings | |
|
Instances
Show SnapshotCreateSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotCreateSettings -> ShowS # show :: SnapshotCreateSettings -> String # showList :: [SnapshotCreateSettings] -> ShowS # | |
Eq SnapshotCreateSettings Source # | |
Defined in Database.Bloodhound.Internal.Client |
defaultSnapshotCreateSettings :: SnapshotCreateSettings Source #
Reasonable defaults for snapshot creation
- snapWaitForCompletion False
- snapIndices Nothing
- snapIgnoreUnavailable False
- snapIncludeGlobalState True
- snapPartial False
data SnapshotSelection Source #
Instances
Show SnapshotSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotSelection -> ShowS # show :: SnapshotSelection -> String # showList :: [SnapshotSelection] -> ShowS # | |
Eq SnapshotSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotSelection -> SnapshotSelection -> Bool # (/=) :: SnapshotSelection -> SnapshotSelection -> Bool # |
data SnapshotPattern Source #
Either specifies an exact snapshot name or one with globs in it,
e.g. SnapPattern "foo*"
NOTE: Patterns are not supported on
ES < 1.7
Instances
Show SnapshotPattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotPattern -> ShowS # show :: SnapshotPattern -> String # showList :: [SnapshotPattern] -> ShowS # | |
Eq SnapshotPattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotPattern -> SnapshotPattern -> Bool # (/=) :: SnapshotPattern -> SnapshotPattern -> Bool # |
data SnapshotInfo Source #
General information about the state of a snapshot. Has some
redundancies with SnapshotStatus
Instances
FromJSON SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotInfo Source # parseJSONList :: Value -> Parser [SnapshotInfo] Source # | |
Show SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotInfo -> ShowS # show :: SnapshotInfo -> String # showList :: [SnapshotInfo] -> ShowS # | |
Eq SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotInfo -> SnapshotInfo -> Bool # (/=) :: SnapshotInfo -> SnapshotInfo -> Bool # |
data SnapshotShardFailure Source #
Instances
FromJSON SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotShardFailure -> ShowS # show :: SnapshotShardFailure -> String # showList :: [SnapshotShardFailure] -> ShowS # | |
Eq SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotShardFailure -> SnapshotShardFailure -> Bool # (/=) :: SnapshotShardFailure -> SnapshotShardFailure -> Bool # |
newtype RestoreRenamePattern Source #
Regex-stype pattern, e.g. "index_(.+)" to match index names
Instances
data RestoreRenameToken Source #
A single token in a index renaming scheme for a restore. These are concatenated into a string before being sent to Elasticsearch. Check out these Java docs to find out more if you're into that sort of thing.
RRTLit Text | Just a literal string of characters |
RRSubWholeMatch | Equivalent to $0. The entire matched pattern, not any subgroup |
RRSubGroup RRGroupRefNum | A specific reference to a group number |
Instances
Show RestoreRenameToken Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RestoreRenameToken -> ShowS # show :: RestoreRenameToken -> String # showList :: [RestoreRenameToken] -> ShowS # | |
Eq RestoreRenameToken Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RestoreRenameToken -> RestoreRenameToken -> Bool # (/=) :: RestoreRenameToken -> RestoreRenameToken -> Bool # |
newtype RRGroupRefNum Source #
A group number for regex matching. Only values from 1-9 are
supported. Construct with mkRRGroupRefNum
Instances
Bounded RRGroupRefNum Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show RRGroupRefNum Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RRGroupRefNum -> ShowS # show :: RRGroupRefNum -> String # showList :: [RRGroupRefNum] -> ShowS # | |
Eq RRGroupRefNum Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RRGroupRefNum -> RRGroupRefNum -> Bool # (/=) :: RRGroupRefNum -> RRGroupRefNum -> Bool # | |
Ord RRGroupRefNum Source # | |
Defined in Database.Bloodhound.Internal.Client compare :: RRGroupRefNum -> RRGroupRefNum -> Ordering # (<) :: RRGroupRefNum -> RRGroupRefNum -> Bool # (<=) :: RRGroupRefNum -> RRGroupRefNum -> Bool # (>) :: RRGroupRefNum -> RRGroupRefNum -> Bool # (>=) :: RRGroupRefNum -> RRGroupRefNum -> Bool # max :: RRGroupRefNum -> RRGroupRefNum -> RRGroupRefNum # min :: RRGroupRefNum -> RRGroupRefNum -> RRGroupRefNum # |
mkRRGroupRefNum :: Int -> Maybe RRGroupRefNum Source #
Only allows valid group number references (1-9).
defaultSnapshotRestoreSettings :: SnapshotRestoreSettings Source #
Reasonable defaults for snapshot restores
- snapRestoreWaitForCompletion False
- snapRestoreIndices Nothing
- snapRestoreIgnoreUnavailable False
- snapRestoreIncludeGlobalState True
- snapRestoreRenamePattern Nothing
- snapRestoreRenameReplacement Nothing
- snapRestorePartial False
- snapRestoreIncludeAliases True
- snapRestoreIndexSettingsOverrides Nothing
- snapRestoreIgnoreIndexSettings Nothing
newtype RestoreIndexSettings Source #
Index settings that can be overridden. The docs only mention you can update number of replicas, but there may be more. You definitely cannot override shard count.
Instances
ToJSON RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: RestoreIndexSettings -> Value Source # toEncoding :: RestoreIndexSettings -> Encoding Source # toJSONList :: [RestoreIndexSettings] -> Value Source # toEncodingList :: [RestoreIndexSettings] -> Encoding Source # | |
Show RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RestoreIndexSettings -> ShowS # show :: RestoreIndexSettings -> String # showList :: [RestoreIndexSettings] -> ShowS # | |
Eq RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RestoreIndexSettings -> RestoreIndexSettings -> Bool # (/=) :: RestoreIndexSettings -> RestoreIndexSettings -> Bool # |
parseNodeStats :: FullNodeId -> Object -> Parser NodeStats Source #
parseNodeInfo :: FullNodeId -> Object -> Parser NodeInfo Source #
data TimeInterval Source #
Instances
Read TimeInterval Source # | |
Defined in Database.Bloodhound.Internal.Client readsPrec :: Int -> ReadS TimeInterval # readList :: ReadS [TimeInterval] # | |
Show TimeInterval Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> TimeInterval -> ShowS # show :: TimeInterval -> String # showList :: [TimeInterval] -> ShowS # | |
Eq TimeInterval Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: TimeInterval -> TimeInterval -> Bool # (/=) :: TimeInterval -> TimeInterval -> Bool # |
parseStringInterval :: (Monad m, MonadFail m) => String -> m NominalDiffTime Source #