bloodhound-0.16.0.0: Elasticsearch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Database.V5.Bloodhound.Internal.Query

Synopsis

Documentation

data Query Source #

newtype Filter Source #

As of Elastic 2.0, Filters are just Queries housed in a Bool Query, and flagged in a different context.

Constructors

Filter 

Fields

data QueryStringQuery Source #

data MoreLikeThisFieldQuery Source #

mkMatchQuery :: FieldName -> QueryString -> MatchQuery Source #

mkMatchQuery is a convenience function that defaults the less common parameters, enabling you to provide only the FieldName and QueryString to make a MatchQuery

mkMultiMatchQuery :: [FieldName] -> QueryString -> MultiMatchQuery Source #

mkMultiMatchQuery is a convenience function that defaults the less common parameters, enabling you to provide only the list of FieldNames and QueryString to make a MultiMatchQuery.

parseRangeValue :: (FromJSON t4, FromJSON t3, FromJSON t2, FromJSON t1) => (t3 -> t5) -> (t1 -> t6) -> (t4 -> t7) -> (t2 -> t8) -> (t5 -> t6 -> b) -> (t7 -> t6 -> b) -> (t5 -> t8 -> b) -> (t7 -> t8 -> b) -> (t5 -> b) -> (t6 -> b) -> (t7 -> b) -> (t8 -> b) -> Parser b -> Object -> Parser b Source #

type Cache = Bool Source #

Cache is for telling ES whether it should cache a Filter not. Querys cannot be cached.

fieldTagged :: Monad m => (FieldName -> Object -> m a) -> Object -> m a Source #