bloodhound-0.19.0.0: Elasticsearch client library for Haskell
Safe HaskellNone
LanguageHaskell2010

Database.Bloodhound.Internal.Newtypes

Synopsis

Documentation

newtype From Source #

Constructors

From Int 

Instances

Instances details
Eq From Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: From -> From -> Bool #

(/=) :: From -> From -> Bool #

Show From Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

showsPrec :: Int -> From -> ShowS #

show :: From -> String #

showList :: [From] -> ShowS #

ToJSON From Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype Size Source #

Constructors

Size Int 

Instances

Instances details
Eq Size Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: Size -> Size -> Bool #

(/=) :: Size -> Size -> Bool #

Show Size Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

showsPrec :: Int -> Size -> ShowS #

show :: Size -> String #

showList :: [Size] -> ShowS #

ToJSON Size Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

FromJSON Size Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype ShardId Source #

Constructors

ShardId 

Fields

Instances

Instances details
Eq ShardId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: ShardId -> ShardId -> Bool #

(/=) :: ShardId -> ShardId -> Bool #

Show ShardId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

FromJSON ShardId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype DocId Source #

DocId is a generic wrapper value for expressing unique Document IDs. Can be set by the user or created by ES itself. Often used in client functions for poking at specific documents.

Constructors

DocId Text 

Instances

Instances details
Eq DocId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: DocId -> DocId -> Bool #

(/=) :: DocId -> DocId -> Bool #

Show DocId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

showsPrec :: Int -> DocId -> ShowS #

show :: DocId -> String #

showList :: [DocId] -> ShowS #

ToJSON DocId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

FromJSON DocId Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype FieldName Source #

FieldName is used all over the place wherever a specific field within a document needs to be specified, usually in Querys or Filters.

Constructors

FieldName Text 

newtype CacheName Source #

CacheName is used in RegexpFilter for describing the CacheKey keyed caching behavior.

Constructors

CacheName Text 

newtype CacheKey Source #

CacheKey is used in RegexpFilter to key regex caching.

Constructors

CacheKey Text 

newtype Lenient Source #

Lenient, if set to true, will cause format based failures to be ignored. I don't know what the bloody default is, Elasticsearch documentation didn't say what it was. Let me know if you figure it out.

Constructors

Lenient Bool 

newtype MinimumMatch Source #

MinimumMatch controls how many should clauses in the bool query should match. Can be an absolute value (2) or a percentage (30%) or a combination of both.

Constructors

MinimumMatch Int 

newtype AllowLeadingWildcard Source #

Allowing a wildcard at the beginning of a word (eg "*ing") is particularly heavy, because all terms in the index need to be examined, just in case they match. Leading wildcards can be disabled by setting AllowLeadingWildcard to false.

newtype Locale Source #

Locale is used for string conversions - defaults to ROOT.

Constructors

Locale Text 

newtype PhraseSlop Source #

PhraseSlop sets the default slop for phrases, 0 means exact phrase matches. Default is 0.

Constructors

PhraseSlop Int 

newtype IgnoreUnmapped Source #

Indicates whether to ignore an unmapped parent_type and not return any documents instead of an error.

Constructors

IgnoreUnmapped Bool 

newtype MinChildren Source #

Maximum number of child documents that match the query allowed for a returned parent document. If the parent document exceeds this limit, it is excluded from the search results.

Constructors

MinChildren Int 

newtype MaxChildren Source #

Minimum number of child documents that match the query required to match the query for a returned parent document. If the parent document does not meet this limit, it is excluded from the search results.

Constructors

MaxChildren Int 

newtype POSIXMS Source #

Newtype wrapper to parse ES's concerning tendency to in some APIs return a floating point number of milliseconds since epoch ಠ_ಠ

Constructors

POSIXMS 

Fields

Instances

Instances details
FromJSON POSIXMS Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype Boost Source #

Constructors

Boost Double 

Instances

Instances details
Eq Boost Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: Boost -> Boost -> Bool #

(/=) :: Boost -> Boost -> Bool #

Show Boost Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

showsPrec :: Int -> Boost -> ShowS #

show :: Boost -> String #

showList :: [Boost] -> ShowS #

ToJSON Boost Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

FromJSON Boost Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype IndexName Source #

IndexName is used to describe which index to querycreatedelete

Constructors

IndexName Text 

newtype MaybeNA a Source #

Constructors

MaybeNA 

Fields

Instances

Instances details
Eq a => Eq (MaybeNA a) Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

(==) :: MaybeNA a -> MaybeNA a -> Bool #

(/=) :: MaybeNA a -> MaybeNA a -> Bool #

Show a => Show (MaybeNA a) Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

Methods

showsPrec :: Int -> MaybeNA a -> ShowS #

show :: MaybeNA a -> String #

showList :: [MaybeNA a] -> ShowS #

FromJSON a => FromJSON (MaybeNA a) Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes

newtype MS Source #

Milliseconds

Constructors

MS NominalDiffTime 

Instances

Instances details
FromJSON MS Source # 
Instance details

Defined in Database.Bloodhound.Internal.Newtypes