bloodhound-0.16.0.0: Elasticsearch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Database.V1.Bloodhound.Internal.Aggregation

Synopsis

Documentation

data DateMathAnchor Source #

Starting point for a date range. This along with the DateMathModifiers gets you the date ES will start from.

Constructors

DMNow 
DMDate Day 

data Bucket a Source #

Constructors

Bucket 

Fields

Instances

Show a => Show (Bucket a) Source # 

Methods

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

show :: Bucket a -> String #

showList :: [Bucket a] -> ShowS #

FromJSON a => FromJSON (Bucket a) Source # 

data Hit a Source #

Instances

Eq a => Eq (Hit a) Source # 

Methods

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

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

Show a => Show (Hit a) Source # 

Methods

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

show :: Hit a -> String #

showList :: [Hit a] -> ShowS #

FromJSON a => FromJSON (Hit a) Source # 

Methods

parseJSON :: Value -> Parser (Hit a) #

parseJSONList :: Value -> Parser [Hit a] #