bloodhound-0.16.0.0: Elasticsearch client library for Haskell

Safe HaskellNone
LanguageHaskell2010

Database.V1.Bloodhound.Internal.Query

Synopsis

Documentation

type Cache = Bool Source #

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

data Filter Source #

type PrefixValue = Text Source #

PrefixValue is used in PrefixQuery as the main query component.

data Query Source #

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.

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

unpackId :: DocId -> Text Source #

unpackId is a silly convenience function that gets used once.