Safe Haskell | None |
---|---|
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 IndexMappingsLimits = IndexMappingsLimits {}
- defaultIndexMappingsLimits :: IndexMappingsLimits
- 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 {}
- newtype Mapping = Mapping {}
- data UpsertActionMetadata
- buildUpsertActionMetadata :: UpsertActionMetadata -> Pair
- data UpsertPayload
- data AllocationPolicy
- data BulkOperation
- = BulkIndex IndexName DocId Value
- | BulkIndexAuto IndexName Value
- | BulkIndexEncodingAuto IndexName Encoding
- | BulkCreate IndexName DocId Value
- | BulkCreateEncoding IndexName DocId Encoding
- | BulkDelete IndexName DocId
- | BulkUpdate IndexName DocId Value
- | BulkUpsert IndexName 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
- data JoinRelation
- data IndexDocumentSettings = IndexDocumentSettings {}
- defaultIndexDocumentSettings :: IndexDocumentSettings
- data IndexSelection
- data NodeSelection
- data NodeSelector
- newtype TemplateName = TemplateName Text
- newtype IndexPattern = IndexPattern 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 :: Map Text NodeThreadPoolStats
- 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 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 :: Maybe 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 :: Map Text NodeThreadPoolInfo
- 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 ThreadPool = ThreadPool {}
- 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
- shardsSkipped :: 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
Eq IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSettings -> IndexSettings -> Bool # (/=) :: IndexSettings -> IndexSettings -> Bool # | |
Show IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSettings -> ShowS # show :: IndexSettings -> String # showList :: [IndexSettings] -> ShowS # | |
ToJSON IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexSettings -> Value # toEncoding :: IndexSettings -> Encoding # toJSONList :: [IndexSettings] -> Value # toEncodingList :: [IndexSettings] -> Encoding # | |
FromJSON IndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexSettings # parseJSONList :: Value -> Parser [IndexSettings] # |
defaultIndexSettings :: IndexSettings Source #
defaultIndexSettings
is an IndexSettings
with 3 shards and
2 replicas.
data IndexMappingsLimits Source #
'IndexMappingsLimits is used to configure index's limits. https://www.elastic.co/guide/en/elasticsearch/reference/master/mapping-settings-limit.html
Instances
Eq IndexMappingsLimits Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexMappingsLimits -> IndexMappingsLimits -> Bool # (/=) :: IndexMappingsLimits -> IndexMappingsLimits -> Bool # | |
Show IndexMappingsLimits Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexMappingsLimits -> ShowS # show :: IndexMappingsLimits -> String # showList :: [IndexMappingsLimits] -> ShowS # | |
ToJSON IndexMappingsLimits Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexMappingsLimits -> Value # toEncoding :: IndexMappingsLimits -> Encoding # toJSONList :: [IndexMappingsLimits] -> Value # toEncodingList :: [IndexMappingsLimits] -> Encoding # | |
FromJSON IndexMappingsLimits Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexMappingsLimits # parseJSONList :: Value -> Parser [IndexMappingsLimits] # |
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
Eq ForceMergeIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show ForceMergeIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ForceMergeIndexSettings -> ShowS # show :: ForceMergeIndexSettings -> String # showList :: [ForceMergeIndexSettings] -> ShowS # |
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
Eq UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpdatableIndexSetting -> UpdatableIndexSetting -> Bool # (/=) :: UpdatableIndexSetting -> UpdatableIndexSetting -> Bool # | |
Show UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpdatableIndexSetting -> ShowS # show :: UpdatableIndexSetting -> String # showList :: [UpdatableIndexSetting] -> ShowS # | |
ToJSON UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: UpdatableIndexSetting -> Value # toEncoding :: UpdatableIndexSetting -> Encoding # toJSONList :: [UpdatableIndexSetting] -> Value # toEncodingList :: [UpdatableIndexSetting] -> Encoding # | |
FromJSON UpdatableIndexSetting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser UpdatableIndexSetting # parseJSONList :: Value -> Parser [UpdatableIndexSetting] # |
parseAttrFilter :: Value -> Parser (NonEmpty NodeAttrFilter) Source #
data ReplicaBounds Source #
Instances
Eq ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ReplicaBounds -> ReplicaBounds -> Bool # (/=) :: ReplicaBounds -> ReplicaBounds -> Bool # | |
Show ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ReplicaBounds -> ShowS # show :: ReplicaBounds -> String # showList :: [ReplicaBounds] -> ShowS # | |
ToJSON ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: ReplicaBounds -> Value # toEncoding :: ReplicaBounds -> Encoding # toJSONList :: [ReplicaBounds] -> Value # toEncodingList :: [ReplicaBounds] -> Encoding # | |
FromJSON ReplicaBounds Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ReplicaBounds # parseJSONList :: Value -> Parser [ReplicaBounds] # |
data Compression Source #
CompressionDefault | Compress with LZ4 |
CompressionBest | Compress with DEFLATE. Elastic blogs that this can reduce disk use by 15%-25%. |
Instances
Eq Compression Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: Compression -> Compression -> Bool # (/=) :: Compression -> Compression -> Bool # | |
Show Compression Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> Compression -> ShowS # show :: Compression -> String # showList :: [Compression] -> ShowS # | |
ToJSON Compression Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: Compression -> Value # toEncoding :: Compression -> Encoding # toJSONList :: [Compression] -> Value # toEncodingList :: [Compression] -> Encoding # | |
FromJSON Compression Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser Compression # parseJSONList :: Value -> Parser [Compression] # |
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
Eq InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: InitialShardCount -> InitialShardCount -> Bool # (/=) :: InitialShardCount -> InitialShardCount -> Bool # | |
Show InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> InitialShardCount -> ShowS # show :: InitialShardCount -> String # showList :: [InitialShardCount] -> ShowS # | |
ToJSON InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: InitialShardCount -> Value # toEncoding :: InitialShardCount -> Encoding # toJSONList :: [InitialShardCount] -> Value # toEncodingList :: [InitialShardCount] -> Encoding # | |
FromJSON InitialShardCount Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser InitialShardCount # parseJSONList :: Value -> Parser [InitialShardCount] # |
data NodeAttrFilter Source #
Instances
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 # | |
Show NodeAttrFilter Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeAttrFilter -> ShowS # show :: NodeAttrFilter -> String # showList :: [NodeAttrFilter] -> ShowS # |
newtype NodeAttrName Source #
Instances
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 # | |
Show NodeAttrName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeAttrName -> ShowS # show :: NodeAttrName -> String # showList :: [NodeAttrName] -> ShowS # |
data CompoundFormat Source #
CompoundFileFormat Bool | |
MergeSegmentVsTotalIndex Double | percentage between 0 and 1 where 0 is false, 1 is true |
Instances
Eq CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: CompoundFormat -> CompoundFormat -> Bool # (/=) :: CompoundFormat -> CompoundFormat -> Bool # | |
Show CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> CompoundFormat -> ShowS # show :: CompoundFormat -> String # showList :: [CompoundFormat] -> ShowS # | |
ToJSON CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: CompoundFormat -> Value # toEncoding :: CompoundFormat -> Encoding # toJSONList :: [CompoundFormat] -> Value # toEncodingList :: [CompoundFormat] -> Encoding # | |
FromJSON CompoundFormat Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser CompoundFormat # parseJSONList :: Value -> Parser [CompoundFormat] # |
newtype NominalDiffTimeJSON Source #
Instances
ToJSON NominalDiffTimeJSON Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: NominalDiffTimeJSON -> Value # toEncoding :: NominalDiffTimeJSON -> Encoding # toJSONList :: [NominalDiffTimeJSON] -> Value # toEncodingList :: [NominalDiffTimeJSON] -> Encoding # | |
FromJSON NominalDiffTimeJSON Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NominalDiffTimeJSON # parseJSONList :: Value -> Parser [NominalDiffTimeJSON] # |
data IndexSettingsSummary Source #
Instances
Eq IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSettingsSummary -> IndexSettingsSummary -> Bool # (/=) :: IndexSettingsSummary -> IndexSettingsSummary -> Bool # | |
Show IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSettingsSummary -> ShowS # show :: IndexSettingsSummary -> String # showList :: [IndexSettingsSummary] -> ShowS # | |
FromJSON IndexSettingsSummary Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexSettingsSummary # parseJSONList :: Value -> Parser [IndexSettingsSummary] # |
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
Eq OpenCloseIndex Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: OpenCloseIndex -> OpenCloseIndex -> Bool # (/=) :: OpenCloseIndex -> OpenCloseIndex -> Bool # | |
Show OpenCloseIndex Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> OpenCloseIndex -> ShowS # show :: OpenCloseIndex -> String # showList :: [OpenCloseIndex] -> ShowS # |
newtype FieldDefinition Source #
Instances
Eq FieldDefinition Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: FieldDefinition -> FieldDefinition -> Bool # (/=) :: FieldDefinition -> FieldDefinition -> Bool # | |
Show FieldDefinition Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FieldDefinition -> ShowS # show :: FieldDefinition -> String # showList :: [FieldDefinition] -> ShowS # |
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 IndexPattern
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 # toEncoding :: IndexTemplate -> Encoding # toJSONList :: [IndexTemplate] -> Value # toEncodingList :: [IndexTemplate] -> Encoding # |
data MappingField Source #
Instances
Eq MappingField Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: MappingField -> MappingField -> Bool # (/=) :: MappingField -> MappingField -> Bool # | |
Show MappingField Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> MappingField -> ShowS # show :: MappingField -> String # showList :: [MappingField] -> ShowS # |
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.
data UpsertActionMetadata Source #
Instances
Eq UpsertActionMetadata Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpsertActionMetadata -> UpsertActionMetadata -> Bool # (/=) :: UpsertActionMetadata -> UpsertActionMetadata -> Bool # | |
Show UpsertActionMetadata Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpsertActionMetadata -> ShowS # show :: UpsertActionMetadata -> String # showList :: [UpsertActionMetadata] -> ShowS # |
data UpsertPayload Source #
Instances
Eq UpsertPayload Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: UpsertPayload -> UpsertPayload -> Bool # (/=) :: UpsertPayload -> UpsertPayload -> Bool # | |
Show UpsertPayload Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> UpsertPayload -> ShowS # show :: UpsertPayload -> String # showList :: [UpsertPayload] -> ShowS # |
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
Eq AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: AllocationPolicy -> AllocationPolicy -> Bool # (/=) :: AllocationPolicy -> AllocationPolicy -> Bool # | |
Show AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> AllocationPolicy -> ShowS # show :: AllocationPolicy -> String # showList :: [AllocationPolicy] -> ShowS # | |
ToJSON AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: AllocationPolicy -> Value # toEncoding :: AllocationPolicy -> Encoding # toJSONList :: [AllocationPolicy] -> Value # toEncodingList :: [AllocationPolicy] -> Encoding # | |
FromJSON AllocationPolicy Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser AllocationPolicy # parseJSONList :: Value -> Parser [AllocationPolicy] # |
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 DocId Value | Create the document, replacing it if it already exists. |
BulkIndexAuto IndexName Value | Create a document with an autogenerated id. |
BulkIndexEncodingAuto IndexName Encoding | Create a document with an autogenerated id. Use fast JSON encoding. |
BulkCreate IndexName DocId Value | Create a document, failing if it already exists. |
BulkCreateEncoding IndexName DocId Encoding | Create a document, failing if it already exists. Use fast JSON encoding. |
BulkDelete IndexName DocId | Delete the document |
BulkUpdate IndexName DocId Value | Update the document, merging the new value with the existing one. |
BulkUpsert IndexName DocId UpsertPayload [UpsertActionMetadata] | Update the document if it already exists, otherwise insert it. |
Instances
Eq BulkOperation Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: BulkOperation -> BulkOperation -> Bool # (/=) :: BulkOperation -> BulkOperation -> Bool # | |
Show BulkOperation Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> BulkOperation -> ShowS # show :: BulkOperation -> String # showList :: [BulkOperation] -> ShowS # |
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
Eq a => Eq (EsResultFound a) Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsResultFound a -> EsResultFound a -> Bool # (/=) :: EsResultFound a -> EsResultFound a -> Bool # | |
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 # | |
FromJSON a => FromJSON (EsResultFound a) Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser (EsResultFound a) # parseJSONList :: Value -> Parser [EsResultFound a] # |
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
Eq EsProtocolException Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsProtocolException -> EsProtocolException -> Bool # (/=) :: EsProtocolException -> EsProtocolException -> Bool # | |
Show EsProtocolException Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> EsProtocolException -> ShowS # show :: EsProtocolException -> String # showList :: [EsProtocolException] -> ShowS # | |
Exception EsProtocolException Source # | |
data IndexAlias Source #
Instances
Eq IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAlias -> IndexAlias -> Bool # (/=) :: IndexAlias -> IndexAlias -> Bool # | |
Show IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAlias -> ShowS # show :: IndexAlias -> String # showList :: [IndexAlias] -> ShowS # | |
ToJSON IndexAlias Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAlias -> Value # toEncoding :: IndexAlias -> Encoding # toJSONList :: [IndexAlias] -> Value # toEncodingList :: [IndexAlias] -> Encoding # |
data IndexAliasAction Source #
Instances
Eq IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasAction -> IndexAliasAction -> Bool # (/=) :: IndexAliasAction -> IndexAliasAction -> Bool # | |
Show IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasAction -> ShowS # show :: IndexAliasAction -> String # showList :: [IndexAliasAction] -> ShowS # | |
ToJSON IndexAliasAction Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasAction -> Value # toEncoding :: IndexAliasAction -> Encoding # toJSONList :: [IndexAliasAction] -> Value # toEncodingList :: [IndexAliasAction] -> Encoding # |
data IndexAliasCreate Source #
Instances
Eq IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasCreate -> IndexAliasCreate -> Bool # (/=) :: IndexAliasCreate -> IndexAliasCreate -> Bool # | |
Show IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasCreate -> ShowS # show :: IndexAliasCreate -> String # showList :: [IndexAliasCreate] -> ShowS # | |
ToJSON IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasCreate -> Value # toEncoding :: IndexAliasCreate -> Encoding # toJSONList :: [IndexAliasCreate] -> Value # toEncodingList :: [IndexAliasCreate] -> Encoding # | |
FromJSON IndexAliasCreate Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasCreate # parseJSONList :: Value -> Parser [IndexAliasCreate] # |
data AliasRouting Source #
AllAliasRouting RoutingValue | |
GranularAliasRouting (Maybe SearchAliasRouting) (Maybe IndexAliasRouting) |
Instances
Eq AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: AliasRouting -> AliasRouting -> Bool # (/=) :: AliasRouting -> AliasRouting -> Bool # | |
Show AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> AliasRouting -> ShowS # show :: AliasRouting -> String # showList :: [AliasRouting] -> ShowS # | |
ToJSON AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: AliasRouting -> Value # toEncoding :: AliasRouting -> Encoding # toJSONList :: [AliasRouting] -> Value # toEncodingList :: [AliasRouting] -> Encoding # | |
FromJSON AliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser AliasRouting # parseJSONList :: Value -> Parser [AliasRouting] # |
newtype SearchAliasRouting Source #
Instances
Eq SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SearchAliasRouting -> SearchAliasRouting -> Bool # (/=) :: SearchAliasRouting -> SearchAliasRouting -> Bool # | |
Show SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SearchAliasRouting -> ShowS # show :: SearchAliasRouting -> String # showList :: [SearchAliasRouting] -> ShowS # | |
ToJSON SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: SearchAliasRouting -> Value # toEncoding :: SearchAliasRouting -> Encoding # toJSONList :: [SearchAliasRouting] -> Value # toEncodingList :: [SearchAliasRouting] -> Encoding # | |
FromJSON SearchAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SearchAliasRouting # parseJSONList :: Value -> Parser [SearchAliasRouting] # |
newtype IndexAliasRouting Source #
Instances
Eq IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasRouting -> IndexAliasRouting -> Bool # (/=) :: IndexAliasRouting -> IndexAliasRouting -> Bool # | |
Show IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasRouting -> ShowS # show :: IndexAliasRouting -> String # showList :: [IndexAliasRouting] -> ShowS # | |
ToJSON IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexAliasRouting -> Value # toEncoding :: IndexAliasRouting -> Encoding # toJSONList :: [IndexAliasRouting] -> Value # toEncodingList :: [IndexAliasRouting] -> Encoding # | |
FromJSON IndexAliasRouting Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasRouting # parseJSONList :: Value -> Parser [IndexAliasRouting] # |
newtype RoutingValue Source #
Instances
Eq RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RoutingValue -> RoutingValue -> Bool # (/=) :: RoutingValue -> RoutingValue -> Bool # | |
Show RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RoutingValue -> ShowS # show :: RoutingValue -> String # showList :: [RoutingValue] -> ShowS # | |
ToJSON RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: RoutingValue -> Value # toEncoding :: RoutingValue -> Encoding # toJSONList :: [RoutingValue] -> Value # toEncodingList :: [RoutingValue] -> Encoding # | |
FromJSON RoutingValue Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser RoutingValue # parseJSONList :: Value -> Parser [RoutingValue] # |
newtype IndexAliasesSummary Source #
Instances
Eq IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasesSummary -> IndexAliasesSummary -> Bool # (/=) :: IndexAliasesSummary -> IndexAliasesSummary -> Bool # | |
Show IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasesSummary -> ShowS # show :: IndexAliasesSummary -> String # showList :: [IndexAliasesSummary] -> ShowS # | |
FromJSON IndexAliasesSummary Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexAliasesSummary # parseJSONList :: Value -> Parser [IndexAliasesSummary] # |
data IndexAliasSummary Source #
IndexAliasSummary
is a summary of an index alias configured for a server.
Instances
Eq IndexAliasSummary Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexAliasSummary -> IndexAliasSummary -> Bool # (/=) :: IndexAliasSummary -> IndexAliasSummary -> Bool # | |
Show IndexAliasSummary Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexAliasSummary -> ShowS # show :: IndexAliasSummary -> String # showList :: [IndexAliasSummary] -> ShowS # |
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
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 # | |
Show VersionControl Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> VersionControl -> ShowS # show :: VersionControl -> String # showList :: [VersionControl] -> ShowS # |
data JoinRelation Source #
Instances
Eq JoinRelation Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JoinRelation -> JoinRelation -> Bool # (/=) :: JoinRelation -> JoinRelation -> Bool # | |
Show JoinRelation Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JoinRelation -> ShowS # show :: JoinRelation -> String # showList :: [JoinRelation] -> ShowS # |
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
Eq IndexDocumentSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexDocumentSettings -> IndexDocumentSettings -> Bool # (/=) :: IndexDocumentSettings -> IndexDocumentSettings -> Bool # | |
Show IndexDocumentSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexDocumentSettings -> ShowS # show :: IndexDocumentSettings -> String # showList :: [IndexDocumentSettings] -> ShowS # |
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
Eq IndexSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexSelection -> IndexSelection -> Bool # (/=) :: IndexSelection -> IndexSelection -> Bool # | |
Show IndexSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexSelection -> ShowS # show :: IndexSelection -> String # showList :: [IndexSelection] -> ShowS # |
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
Eq NodeSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeSelection -> NodeSelection -> Bool # (/=) :: NodeSelection -> NodeSelection -> Bool # | |
Show NodeSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeSelection -> ShowS # show :: NodeSelection -> String # showList :: [NodeSelection] -> ShowS # |
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
Eq NodeSelector Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeSelector -> NodeSelector -> Bool # (/=) :: NodeSelector -> NodeSelector -> Bool # | |
Show NodeSelector Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeSelector -> ShowS # show :: NodeSelector -> String # showList :: [NodeSelector] -> ShowS # |
newtype TemplateName Source #
TemplateName
is used to describe which template to querycreatedelete
Instances
Eq TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: TemplateName -> TemplateName -> Bool # (/=) :: TemplateName -> TemplateName -> Bool # | |
Show TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> TemplateName -> ShowS # show :: TemplateName -> String # showList :: [TemplateName] -> ShowS # | |
ToJSON TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: TemplateName -> Value # toEncoding :: TemplateName -> Encoding # toJSONList :: [TemplateName] -> Value # toEncodingList :: [TemplateName] -> Encoding # | |
FromJSON TemplateName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser TemplateName # parseJSONList :: Value -> Parser [TemplateName] # |
newtype IndexPattern Source #
IndexPattern
represents a pattern which is matched against index names
Instances
Eq IndexPattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: IndexPattern -> IndexPattern -> Bool # (/=) :: IndexPattern -> IndexPattern -> Bool # | |
Show IndexPattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> IndexPattern -> ShowS # show :: IndexPattern -> String # showList :: [IndexPattern] -> ShowS # | |
ToJSON IndexPattern Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: IndexPattern -> Value # toEncoding :: IndexPattern -> Encoding # toJSONList :: [IndexPattern] -> Value # toEncodingList :: [IndexPattern] -> Encoding # | |
FromJSON IndexPattern Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser IndexPattern # parseJSONList :: Value -> Parser [IndexPattern] # |
newtype EsUsername Source #
Username type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Eq EsUsername Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsUsername -> EsUsername -> Bool # (/=) :: EsUsername -> EsUsername -> Bool # | |
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 # |
newtype EsPassword Source #
Password type used for HTTP Basic authentication. See basicAuthHook
.
Instances
Eq EsPassword Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: EsPassword -> EsPassword -> Bool # (/=) :: EsPassword -> EsPassword -> Bool # | |
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 # |
data SnapshotRepoSelection Source #
Instances
Eq SnapshotRepoSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotRepoSelection -> SnapshotRepoSelection -> Bool # (/=) :: SnapshotRepoSelection -> SnapshotRepoSelection -> Bool # | |
Show SnapshotRepoSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRepoSelection -> ShowS # show :: SnapshotRepoSelection -> String # showList :: [SnapshotRepoSelection] -> ShowS # |
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
Eq SnapshotRepoPattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotRepoPattern -> SnapshotRepoPattern -> Bool # (/=) :: SnapshotRepoPattern -> SnapshotRepoPattern -> Bool # | |
Show SnapshotRepoPattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRepoPattern -> ShowS # show :: SnapshotRepoPattern -> String # showList :: [SnapshotRepoPattern] -> ShowS # |
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
Eq GenericSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: GenericSnapshotRepo -> GenericSnapshotRepo -> Bool # (/=) :: GenericSnapshotRepo -> GenericSnapshotRepo -> Bool # | |
Show GenericSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> GenericSnapshotRepo -> ShowS # show :: GenericSnapshotRepo -> String # showList :: [GenericSnapshotRepo] -> ShowS # | |
SnapshotRepo GenericSnapshotRepo Source # | |
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
Eq SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotVerification -> SnapshotVerification -> Bool # (/=) :: SnapshotVerification -> SnapshotVerification -> Bool # | |
Show SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotVerification -> ShowS # show :: SnapshotVerification -> String # showList :: [SnapshotVerification] -> ShowS # | |
FromJSON SnapshotVerification Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotVerification # parseJSONList :: Value -> Parser [SnapshotVerification] # |
data SnapshotNodeVerification Source #
A node that has verified a snapshot
Instances
Eq SnapshotNodeVerification Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show SnapshotNodeVerification Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotNodeVerification -> ShowS # show :: SnapshotNodeVerification -> String # showList :: [SnapshotNodeVerification] -> ShowS # |
newtype FullNodeId Source #
Unique, automatically-generated name assigned to nodes that are usually returned in node-oriented APIs.
Instances
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 # | |
Show FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FullNodeId -> ShowS # show :: FullNodeId -> String # showList :: [FullNodeId] -> ShowS # | |
FromJSON FullNodeId Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser FullNodeId # parseJSONList :: Value -> Parser [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
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 # | |
Show ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ClusterName -> ShowS # show :: ClusterName -> String # showList :: [ClusterName] -> ShowS # | |
FromJSON ClusterName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ClusterName # parseJSONList :: Value -> Parser [ClusterName] # |
data NodesStats Source #
Instances
Eq NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodesStats -> NodesStats -> Bool # (/=) :: NodesStats -> NodesStats -> Bool # | |
Show NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodesStats -> ShowS # show :: NodesStats -> String # showList :: [NodesStats] -> ShowS # | |
FromJSON NodesStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodesStats # parseJSONList :: Value -> Parser [NodesStats] # |
data NodeBreakersStats Source #
Instances
Eq NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeBreakersStats -> NodeBreakersStats -> Bool # (/=) :: NodeBreakersStats -> NodeBreakersStats -> Bool # | |
Show NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeBreakersStats -> ShowS # show :: NodeBreakersStats -> String # showList :: [NodeBreakersStats] -> ShowS # | |
FromJSON NodeBreakersStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeBreakersStats # parseJSONList :: Value -> Parser [NodeBreakersStats] # |
data NodeBreakerStats Source #
Instances
Eq NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeBreakerStats -> NodeBreakerStats -> Bool # (/=) :: NodeBreakerStats -> NodeBreakerStats -> Bool # | |
Show NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeBreakerStats -> ShowS # show :: NodeBreakerStats -> String # showList :: [NodeBreakerStats] -> ShowS # | |
FromJSON NodeBreakerStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeBreakerStats # parseJSONList :: Value -> Parser [NodeBreakerStats] # |
data NodeHTTPStats Source #
Instances
Eq NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeHTTPStats -> NodeHTTPStats -> Bool # (/=) :: NodeHTTPStats -> NodeHTTPStats -> Bool # | |
Show NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeHTTPStats -> ShowS # show :: NodeHTTPStats -> String # showList :: [NodeHTTPStats] -> ShowS # | |
FromJSON NodeHTTPStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeHTTPStats # parseJSONList :: Value -> Parser [NodeHTTPStats] # |
data NodeTransportStats Source #
Instances
Eq NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeTransportStats -> NodeTransportStats -> Bool # (/=) :: NodeTransportStats -> NodeTransportStats -> Bool # | |
Show NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeTransportStats -> ShowS # show :: NodeTransportStats -> String # showList :: [NodeTransportStats] -> ShowS # | |
FromJSON NodeTransportStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeTransportStats # parseJSONList :: Value -> Parser [NodeTransportStats] # |
data NodeFSStats Source #
Instances
Eq NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeFSStats -> NodeFSStats -> Bool # (/=) :: NodeFSStats -> NodeFSStats -> Bool # | |
Show NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeFSStats -> ShowS # show :: NodeFSStats -> String # showList :: [NodeFSStats] -> ShowS # | |
FromJSON NodeFSStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeFSStats # parseJSONList :: Value -> Parser [NodeFSStats] # |
data NodeDataPathStats Source #
Instances
Eq NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeDataPathStats -> NodeDataPathStats -> Bool # (/=) :: NodeDataPathStats -> NodeDataPathStats -> Bool # | |
Show NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeDataPathStats -> ShowS # show :: NodeDataPathStats -> String # showList :: [NodeDataPathStats] -> ShowS # | |
FromJSON NodeDataPathStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeDataPathStats # parseJSONList :: Value -> Parser [NodeDataPathStats] # |
data NodeFSTotalStats Source #
Instances
Eq NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeFSTotalStats -> NodeFSTotalStats -> Bool # (/=) :: NodeFSTotalStats -> NodeFSTotalStats -> Bool # | |
Show NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeFSTotalStats -> ShowS # show :: NodeFSTotalStats -> String # showList :: [NodeFSTotalStats] -> ShowS # | |
FromJSON NodeFSTotalStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeFSTotalStats # parseJSONList :: Value -> Parser [NodeFSTotalStats] # |
data NodeNetworkStats Source #
Instances
Eq NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkStats -> NodeNetworkStats -> Bool # (/=) :: NodeNetworkStats -> NodeNetworkStats -> Bool # | |
Show NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkStats -> ShowS # show :: NodeNetworkStats -> String # showList :: [NodeNetworkStats] -> ShowS # | |
FromJSON NodeNetworkStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeNetworkStats # parseJSONList :: Value -> Parser [NodeNetworkStats] # |
data NodeThreadPoolStats Source #
Instances
Eq NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolStats -> NodeThreadPoolStats -> Bool # (/=) :: NodeThreadPoolStats -> NodeThreadPoolStats -> Bool # | |
Show NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolStats -> ShowS # show :: NodeThreadPoolStats -> String # showList :: [NodeThreadPoolStats] -> ShowS # | |
FromJSON NodeThreadPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeThreadPoolStats # parseJSONList :: Value -> Parser [NodeThreadPoolStats] # |
data NodeJVMStats Source #
Instances
Eq NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeJVMStats -> NodeJVMStats -> Bool # (/=) :: NodeJVMStats -> NodeJVMStats -> Bool # | |
Show NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeJVMStats -> ShowS # show :: NodeJVMStats -> String # showList :: [NodeJVMStats] -> ShowS # | |
FromJSON NodeJVMStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeJVMStats # parseJSONList :: Value -> Parser [NodeJVMStats] # |
data JVMBufferPoolStats Source #
Instances
Eq JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMBufferPoolStats -> JVMBufferPoolStats -> Bool # (/=) :: JVMBufferPoolStats -> JVMBufferPoolStats -> Bool # | |
Show JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMBufferPoolStats -> ShowS # show :: JVMBufferPoolStats -> String # showList :: [JVMBufferPoolStats] -> ShowS # | |
FromJSON JVMBufferPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMBufferPoolStats # parseJSONList :: Value -> Parser [JVMBufferPoolStats] # |
data JVMGCStats Source #
Instances
Eq JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMGCStats -> JVMGCStats -> Bool # (/=) :: JVMGCStats -> JVMGCStats -> Bool # | |
Show JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMGCStats -> ShowS # show :: JVMGCStats -> String # showList :: [JVMGCStats] -> ShowS # | |
FromJSON JVMGCStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMGCStats # parseJSONList :: Value -> Parser [JVMGCStats] # |
data JVMPoolStats Source #
Instances
Eq JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMPoolStats -> JVMPoolStats -> Bool # (/=) :: JVMPoolStats -> JVMPoolStats -> Bool # | |
Show JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMPoolStats -> ShowS # show :: JVMPoolStats -> String # showList :: [JVMPoolStats] -> ShowS # | |
FromJSON JVMPoolStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMPoolStats # parseJSONList :: Value -> Parser [JVMPoolStats] # |
data NodeProcessStats Source #
Instances
Eq NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeProcessStats -> NodeProcessStats -> Bool # (/=) :: NodeProcessStats -> NodeProcessStats -> Bool # | |
Show NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeProcessStats -> ShowS # show :: NodeProcessStats -> String # showList :: [NodeProcessStats] -> ShowS # | |
FromJSON NodeProcessStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeProcessStats # parseJSONList :: Value -> Parser [NodeProcessStats] # |
data NodeOSStats Source #
Instances
Eq NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeOSStats -> NodeOSStats -> Bool # (/=) :: NodeOSStats -> NodeOSStats -> Bool # | |
Show NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeOSStats -> ShowS # show :: NodeOSStats -> String # showList :: [NodeOSStats] -> ShowS # | |
FromJSON NodeOSStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeOSStats # parseJSONList :: Value -> Parser [NodeOSStats] # |
LoadAvgs | |
|
data NodeIndicesStats Source #
Instances
Eq NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeIndicesStats -> NodeIndicesStats -> Bool # (/=) :: NodeIndicesStats -> NodeIndicesStats -> Bool # | |
Show NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeIndicesStats -> ShowS # show :: NodeIndicesStats -> String # showList :: [NodeIndicesStats] -> ShowS # | |
FromJSON NodeIndicesStats Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeIndicesStats # parseJSONList :: Value -> Parser [NodeIndicesStats] # |
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
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 # | |
Show PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> PluginName -> ShowS # show :: PluginName -> String # showList :: [PluginName] -> ShowS # | |
FromJSON PluginName Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser PluginName # parseJSONList :: Value -> Parser [PluginName] # |
NodeInfo | |
|
data NodePluginInfo Source #
NodePluginInfo | |
|
Instances
Eq NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodePluginInfo -> NodePluginInfo -> Bool # (/=) :: NodePluginInfo -> NodePluginInfo -> Bool # | |
Show NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodePluginInfo -> ShowS # show :: NodePluginInfo -> String # showList :: [NodePluginInfo] -> ShowS # | |
FromJSON NodePluginInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodePluginInfo # parseJSONList :: Value -> Parser [NodePluginInfo] # |
data NodeHTTPInfo Source #
Instances
Eq NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeHTTPInfo -> NodeHTTPInfo -> Bool # (/=) :: NodeHTTPInfo -> NodeHTTPInfo -> Bool # | |
Show NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeHTTPInfo -> ShowS # show :: NodeHTTPInfo -> String # showList :: [NodeHTTPInfo] -> ShowS # | |
FromJSON NodeHTTPInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeHTTPInfo # parseJSONList :: Value -> Parser [NodeHTTPInfo] # |
data NodeTransportInfo Source #
Instances
Eq NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeTransportInfo -> NodeTransportInfo -> Bool # (/=) :: NodeTransportInfo -> NodeTransportInfo -> Bool # | |
Show NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeTransportInfo -> ShowS # show :: NodeTransportInfo -> String # showList :: [NodeTransportInfo] -> ShowS # | |
FromJSON NodeTransportInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeTransportInfo # parseJSONList :: Value -> Parser [NodeTransportInfo] # |
data BoundTransportAddress Source #
Instances
Eq BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: BoundTransportAddress -> BoundTransportAddress -> Bool # (/=) :: BoundTransportAddress -> BoundTransportAddress -> Bool # | |
Show BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> BoundTransportAddress -> ShowS # show :: BoundTransportAddress -> String # showList :: [BoundTransportAddress] -> ShowS # | |
FromJSON BoundTransportAddress Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser BoundTransportAddress # parseJSONList :: Value -> Parser [BoundTransportAddress] # |
data NodeNetworkInfo Source #
Instances
Eq NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkInfo -> NodeNetworkInfo -> Bool # (/=) :: NodeNetworkInfo -> NodeNetworkInfo -> Bool # | |
Show NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkInfo -> ShowS # show :: NodeNetworkInfo -> String # showList :: [NodeNetworkInfo] -> ShowS # | |
FromJSON NodeNetworkInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeNetworkInfo # parseJSONList :: Value -> Parser [NodeNetworkInfo] # |
newtype MacAddress Source #
Instances
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 # | |
Show MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> MacAddress -> ShowS # show :: MacAddress -> String # showList :: [MacAddress] -> ShowS # | |
FromJSON MacAddress Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser MacAddress # parseJSONList :: Value -> Parser [MacAddress] # |
newtype NetworkInterfaceName Source #
Instances
data NodeNetworkInterface Source #
Instances
Eq NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeNetworkInterface -> NodeNetworkInterface -> Bool # (/=) :: NodeNetworkInterface -> NodeNetworkInterface -> Bool # | |
Show NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeNetworkInterface -> ShowS # show :: NodeNetworkInterface -> String # showList :: [NodeNetworkInterface] -> ShowS # | |
FromJSON NodeNetworkInterface Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeNetworkInterface # parseJSONList :: Value -> Parser [NodeNetworkInterface] # |
data ThreadPool Source #
Instances
Eq ThreadPool Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ThreadPool -> ThreadPool -> Bool # (/=) :: ThreadPool -> ThreadPool -> Bool # | |
Show ThreadPool Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ThreadPool -> ShowS # show :: ThreadPool -> String # showList :: [ThreadPool] -> ShowS # |
data NodeThreadPoolInfo Source #
Instances
Eq NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeThreadPoolInfo -> NodeThreadPoolInfo -> Bool # (/=) :: NodeThreadPoolInfo -> NodeThreadPoolInfo -> Bool # | |
Show NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeThreadPoolInfo -> ShowS # show :: NodeThreadPoolInfo -> String # showList :: [NodeThreadPoolInfo] -> ShowS # | |
FromJSON NodeThreadPoolInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeThreadPoolInfo # parseJSONList :: Value -> Parser [NodeThreadPoolInfo] # |
data ThreadPoolSize Source #
Instances
Eq ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ThreadPoolSize -> ThreadPoolSize -> Bool # (/=) :: ThreadPoolSize -> ThreadPoolSize -> Bool # | |
Show ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ThreadPoolSize -> ShowS # show :: ThreadPoolSize -> String # showList :: [ThreadPoolSize] -> ShowS # | |
FromJSON ThreadPoolSize Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ThreadPoolSize # parseJSONList :: Value -> Parser [ThreadPoolSize] # |
data ThreadPoolType Source #
Instances
Eq ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ThreadPoolType -> ThreadPoolType -> Bool # (/=) :: ThreadPoolType -> ThreadPoolType -> Bool # | |
Show ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ThreadPoolType -> ShowS # show :: ThreadPoolType -> String # showList :: [ThreadPoolType] -> ShowS # | |
FromJSON ThreadPoolType Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ThreadPoolType # parseJSONList :: Value -> Parser [ThreadPoolType] # |
data NodeJVMInfo Source #
NodeJVMInfo | |
|
Instances
Eq NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeJVMInfo -> NodeJVMInfo -> Bool # (/=) :: NodeJVMInfo -> NodeJVMInfo -> Bool # | |
Show NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeJVMInfo -> ShowS # show :: NodeJVMInfo -> String # showList :: [NodeJVMInfo] -> ShowS # | |
FromJSON NodeJVMInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeJVMInfo # parseJSONList :: Value -> Parser [NodeJVMInfo] # |
newtype JVMVersion Source #
We cannot parse JVM version numbers and we're not going to try.
Instances
Eq JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMVersion -> JVMVersion -> Bool # (/=) :: JVMVersion -> JVMVersion -> Bool # | |
Show JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMVersion -> ShowS # show :: JVMVersion -> String # showList :: [JVMVersion] -> ShowS # | |
FromJSON JVMVersion Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMVersion # parseJSONList :: Value -> Parser [JVMVersion] # |
data JVMMemoryInfo Source #
Instances
Eq JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMMemoryInfo -> JVMMemoryInfo -> Bool # (/=) :: JVMMemoryInfo -> JVMMemoryInfo -> Bool # | |
Show JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMMemoryInfo -> ShowS # show :: JVMMemoryInfo -> String # showList :: [JVMMemoryInfo] -> ShowS # | |
FromJSON JVMMemoryInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMMemoryInfo # parseJSONList :: Value -> Parser [JVMMemoryInfo] # |
newtype JVMMemoryPool Source #
Instances
Eq JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMMemoryPool -> JVMMemoryPool -> Bool # (/=) :: JVMMemoryPool -> JVMMemoryPool -> Bool # | |
Show JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMMemoryPool -> ShowS # show :: JVMMemoryPool -> String # showList :: [JVMMemoryPool] -> ShowS # | |
FromJSON JVMMemoryPool Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMMemoryPool # parseJSONList :: Value -> Parser [JVMMemoryPool] # |
newtype JVMGCCollector Source #
Instances
Eq JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: JVMGCCollector -> JVMGCCollector -> Bool # (/=) :: JVMGCCollector -> JVMGCCollector -> Bool # | |
Show JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> JVMGCCollector -> ShowS # show :: JVMGCCollector -> String # showList :: [JVMGCCollector] -> ShowS # | |
FromJSON JVMGCCollector Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser JVMGCCollector # parseJSONList :: Value -> Parser [JVMGCCollector] # |
data NodeOSInfo Source #
Instances
Eq NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeOSInfo -> NodeOSInfo -> Bool # (/=) :: NodeOSInfo -> NodeOSInfo -> Bool # | |
Show NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeOSInfo -> ShowS # show :: NodeOSInfo -> String # showList :: [NodeOSInfo] -> ShowS # | |
FromJSON NodeOSInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeOSInfo # parseJSONList :: Value -> Parser [NodeOSInfo] # |
CPUInfo | |
|
data NodeProcessInfo Source #
Instances
Eq NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: NodeProcessInfo -> NodeProcessInfo -> Bool # (/=) :: NodeProcessInfo -> NodeProcessInfo -> Bool # | |
Show NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> NodeProcessInfo -> ShowS # show :: NodeProcessInfo -> String # showList :: [NodeProcessInfo] -> ShowS # | |
FromJSON NodeProcessInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser NodeProcessInfo # parseJSONList :: Value -> Parser [NodeProcessInfo] # |
data ShardResult Source #
ShardResult | |
|
Instances
Eq ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: ShardResult -> ShardResult -> Bool # (/=) :: ShardResult -> ShardResult -> Bool # | |
Show ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> ShardResult -> ShowS # show :: ShardResult -> String # showList :: [ShardResult] -> ShowS # | |
FromJSON ShardResult Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser ShardResult # parseJSONList :: Value -> Parser [ShardResult] # |
data SnapshotState Source #
SnapshotInit | |
SnapshotStarted | |
SnapshotSuccess | |
SnapshotFailed | |
SnapshotAborted | |
SnapshotMissing | |
SnapshotWaiting |
Instances
Eq SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotState -> SnapshotState -> Bool # (/=) :: SnapshotState -> SnapshotState -> Bool # | |
Show SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotState -> ShowS # show :: SnapshotState -> String # showList :: [SnapshotState] -> ShowS # | |
FromJSON SnapshotState Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotState # parseJSONList :: Value -> Parser [SnapshotState] # |
data SnapshotRestoreSettings Source #
SnapshotRestoreSettings | |
|
Instances
Eq SnapshotRestoreSettings Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show SnapshotRestoreSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotRestoreSettings -> ShowS # show :: SnapshotRestoreSettings -> String # showList :: [SnapshotRestoreSettings] -> ShowS # |
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
Eq FsSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: FsSnapshotRepo -> FsSnapshotRepo -> Bool # (/=) :: FsSnapshotRepo -> FsSnapshotRepo -> Bool # | |
Show FsSnapshotRepo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> FsSnapshotRepo -> ShowS # show :: FsSnapshotRepo -> String # showList :: [FsSnapshotRepo] -> ShowS # | |
SnapshotRepo FsSnapshotRepo Source # | |
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
Eq SnapshotCreateSettings Source # | |
Defined in Database.Bloodhound.Internal.Client | |
Show SnapshotCreateSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotCreateSettings -> ShowS # show :: SnapshotCreateSettings -> String # showList :: [SnapshotCreateSettings] -> ShowS # |
defaultSnapshotCreateSettings :: SnapshotCreateSettings Source #
Reasonable defaults for snapshot creation
- snapWaitForCompletion False
- snapIndices Nothing
- snapIgnoreUnavailable False
- snapIncludeGlobalState True
- snapPartial False
data SnapshotSelection Source #
Instances
Eq SnapshotSelection Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotSelection -> SnapshotSelection -> Bool # (/=) :: SnapshotSelection -> SnapshotSelection -> Bool # | |
Show SnapshotSelection Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotSelection -> ShowS # show :: SnapshotSelection -> String # showList :: [SnapshotSelection] -> ShowS # |
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
Eq SnapshotPattern Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotPattern -> SnapshotPattern -> Bool # (/=) :: SnapshotPattern -> SnapshotPattern -> Bool # | |
Show SnapshotPattern Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotPattern -> ShowS # show :: SnapshotPattern -> String # showList :: [SnapshotPattern] -> ShowS # |
data SnapshotInfo Source #
General information about the state of a snapshot. Has some
redundancies with SnapshotStatus
Instances
Eq SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotInfo -> SnapshotInfo -> Bool # (/=) :: SnapshotInfo -> SnapshotInfo -> Bool # | |
Show SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotInfo -> ShowS # show :: SnapshotInfo -> String # showList :: [SnapshotInfo] -> ShowS # | |
FromJSON SnapshotInfo Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotInfo # parseJSONList :: Value -> Parser [SnapshotInfo] # |
data SnapshotShardFailure Source #
Instances
Eq SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: SnapshotShardFailure -> SnapshotShardFailure -> Bool # (/=) :: SnapshotShardFailure -> SnapshotShardFailure -> Bool # | |
Show SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> SnapshotShardFailure -> ShowS # show :: SnapshotShardFailure -> String # showList :: [SnapshotShardFailure] -> ShowS # | |
FromJSON SnapshotShardFailure Source # | |
Defined in Database.Bloodhound.Internal.Client parseJSON :: Value -> Parser SnapshotShardFailure # parseJSONList :: Value -> Parser [SnapshotShardFailure] # |
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
Eq RestoreRenameToken Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RestoreRenameToken -> RestoreRenameToken -> Bool # (/=) :: RestoreRenameToken -> RestoreRenameToken -> Bool # | |
Show RestoreRenameToken Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RestoreRenameToken -> ShowS # show :: RestoreRenameToken -> String # showList :: [RestoreRenameToken] -> ShowS # |
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 | |
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 # | |
Show RRGroupRefNum Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RRGroupRefNum -> ShowS # show :: RRGroupRefNum -> String # showList :: [RRGroupRefNum] -> ShowS # |
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
Eq RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: RestoreIndexSettings -> RestoreIndexSettings -> Bool # (/=) :: RestoreIndexSettings -> RestoreIndexSettings -> Bool # | |
Show RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client showsPrec :: Int -> RestoreIndexSettings -> ShowS # show :: RestoreIndexSettings -> String # showList :: [RestoreIndexSettings] -> ShowS # | |
ToJSON RestoreIndexSettings Source # | |
Defined in Database.Bloodhound.Internal.Client toJSON :: RestoreIndexSettings -> Value # toEncoding :: RestoreIndexSettings -> Encoding # toJSONList :: [RestoreIndexSettings] -> Value # toEncodingList :: [RestoreIndexSettings] -> Encoding # |
parseNodeStats :: FullNodeId -> Object -> Parser NodeStats Source #
parseNodeInfo :: FullNodeId -> Object -> Parser NodeInfo Source #
data TimeInterval Source #
Instances
Eq TimeInterval Source # | |
Defined in Database.Bloodhound.Internal.Client (==) :: TimeInterval -> TimeInterval -> Bool # (/=) :: TimeInterval -> TimeInterval -> Bool # | |
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 # |
parseStringInterval :: (Monad m, MonadFail m) => String -> m NominalDiffTime Source #