bloodhound-0.16.0.0: Elasticsearch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Database.V5.Bloodhound.Internal.Newtypes

Synopsis

Documentation

newtype From Source #

Constructors

From Int 

Instances

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 

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 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 Locale Source #

Locale is used for string conversions - defaults to ROOT.

Constructors

Locale Text 

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

newtype MaybeNA a Source #

Constructors

MaybeNA 

Fields

Instances

Eq a => Eq (MaybeNA a) Source # 

Methods

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

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

Show a => Show (MaybeNA a) Source # 

Methods

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

show :: MaybeNA a -> String #

showList :: [MaybeNA a] -> ShowS #

FromJSON a => FromJSON (MaybeNA a) Source # 

newtype MS Source #

Milliseconds

Constructors

MS NominalDiffTime