Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype From = From Int
- newtype Size = Size Int
- newtype HitFields = HitFields (Map Text [Value])
- type Score = Maybe Double
- newtype ShardId = ShardId {}
- newtype DocId = DocId Text
- newtype FieldName = FieldName Text
- newtype RelationName = RelationName Text
- newtype QueryString = QueryString Text
- newtype CacheName = CacheName Text
- newtype CacheKey = CacheKey Text
- newtype Existence = Existence Bool
- newtype NullValue = NullValue Bool
- newtype CutoffFrequency = CutoffFrequency Double
- newtype Analyzer = Analyzer Text
- newtype MaxExpansions = MaxExpansions Int
- newtype Lenient = Lenient Bool
- newtype Tiebreaker = Tiebreaker Double
- newtype MinimumMatch = MinimumMatch Int
- newtype DisableCoord = DisableCoord Bool
- newtype IgnoreTermFrequency = IgnoreTermFrequency Bool
- newtype MinimumTermFrequency = MinimumTermFrequency Int
- newtype MaxQueryTerms = MaxQueryTerms Int
- newtype PrefixLength = PrefixLength Int
- newtype PercentMatch = PercentMatch Double
- newtype StopWord = StopWord Text
- newtype QueryPath = QueryPath Text
- newtype AllowLeadingWildcard = AllowLeadingWildcard Bool
- newtype LowercaseExpanded = LowercaseExpanded Bool
- newtype EnablePositionIncrements = EnablePositionIncrements Bool
- newtype AnalyzeWildcard = AnalyzeWildcard Bool
- newtype GeneratePhraseQueries = GeneratePhraseQueries Bool
- newtype Locale = Locale Text
- newtype MaxWordLength = MaxWordLength Int
- newtype MinWordLength = MinWordLength Int
- newtype PhraseSlop = PhraseSlop Int
- newtype MinDocFrequency = MinDocFrequency Int
- newtype MaxDocFrequency = MaxDocFrequency Int
- newtype AggregateParentScore = AggregateParentScore Bool
- newtype IgnoreUnmapped = IgnoreUnmapped Bool
- newtype MinChildren = MinChildren Int
- newtype MaxChildren = MaxChildren Int
- newtype POSIXMS = POSIXMS {}
- newtype Boost = Boost Double
- newtype BoostTerms = BoostTerms Double
- newtype ReplicaCount = ReplicaCount Int
- newtype ShardCount = ShardCount Int
- newtype IndexName = IndexName Text
- newtype IndexAliasName = IndexAliasName {}
- newtype MaybeNA a = MaybeNA {}
- newtype SnapshotName = SnapshotName {
- snapshotName :: Text
- newtype MS = MS NominalDiffTime
- unMS :: MS -> NominalDiffTime
- newtype TokenFilter = TokenFilter Text
- newtype CharFilter = CharFilter Text
Documentation
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.
FieldName
is used all over the place wherever a specific field within
a document needs to be specified, usually in Query
s or Filter
s.
newtype RelationName Source #
RelationName
describes a relation role between parend and child Documents
in a Join relarionship: https://www.elastic.co/guide/en/elasticsearch/reference/current/parent-join.html
Instances
Eq RelationName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: RelationName -> RelationName -> Bool # (/=) :: RelationName -> RelationName -> Bool # | |
Read RelationName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes readsPrec :: Int -> ReadS RelationName # readList :: ReadS [RelationName] # | |
Show RelationName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> RelationName -> ShowS # show :: RelationName -> String # showList :: [RelationName] -> ShowS # | |
ToJSON RelationName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: RelationName -> Value # toEncoding :: RelationName -> Encoding # toJSONList :: [RelationName] -> Value # toEncodingList :: [RelationName] -> Encoding # | |
FromJSON RelationName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser RelationName # parseJSONList :: Value -> Parser [RelationName] # |
newtype QueryString Source #
QueryString
is used to wrap query text bodies, be they human written or not.
Instances
Eq QueryString Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: QueryString -> QueryString -> Bool # (/=) :: QueryString -> QueryString -> Bool # | |
Show QueryString Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> QueryString -> ShowS # show :: QueryString -> String # showList :: [QueryString] -> ShowS # | |
ToJSON QueryString Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: QueryString -> Value # toEncoding :: QueryString -> Encoding # toJSONList :: [QueryString] -> Value # toEncodingList :: [QueryString] -> Encoding # | |
FromJSON QueryString Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser QueryString # parseJSONList :: Value -> Parser [QueryString] # |
CacheKey
is used in RegexpFilter
to key regex caching.
newtype CutoffFrequency Source #
Instances
Eq CutoffFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: CutoffFrequency -> CutoffFrequency -> Bool # (/=) :: CutoffFrequency -> CutoffFrequency -> Bool # | |
Show CutoffFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> CutoffFrequency -> ShowS # show :: CutoffFrequency -> String # showList :: [CutoffFrequency] -> ShowS # | |
ToJSON CutoffFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: CutoffFrequency -> Value # toEncoding :: CutoffFrequency -> Encoding # toJSONList :: [CutoffFrequency] -> Value # toEncodingList :: [CutoffFrequency] -> Encoding # | |
FromJSON CutoffFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser CutoffFrequency # parseJSONList :: Value -> Parser [CutoffFrequency] # |
newtype MaxExpansions Source #
Instances
Eq MaxExpansions Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MaxExpansions -> MaxExpansions -> Bool # (/=) :: MaxExpansions -> MaxExpansions -> Bool # | |
Show MaxExpansions Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MaxExpansions -> ShowS # show :: MaxExpansions -> String # showList :: [MaxExpansions] -> ShowS # | |
ToJSON MaxExpansions Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MaxExpansions -> Value # toEncoding :: MaxExpansions -> Encoding # toJSONList :: [MaxExpansions] -> Value # toEncodingList :: [MaxExpansions] -> Encoding # | |
FromJSON MaxExpansions Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MaxExpansions # parseJSONList :: Value -> Parser [MaxExpansions] # |
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.
newtype Tiebreaker Source #
Instances
Eq Tiebreaker Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: Tiebreaker -> Tiebreaker -> Bool # (/=) :: Tiebreaker -> Tiebreaker -> Bool # | |
Show Tiebreaker Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> Tiebreaker -> ShowS # show :: Tiebreaker -> String # showList :: [Tiebreaker] -> ShowS # | |
ToJSON Tiebreaker Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: Tiebreaker -> Value # toEncoding :: Tiebreaker -> Encoding # toJSONList :: [Tiebreaker] -> Value # toEncodingList :: [Tiebreaker] -> Encoding # | |
FromJSON Tiebreaker Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser Tiebreaker # parseJSONList :: Value -> Parser [Tiebreaker] # |
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.
Instances
Eq MinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MinimumMatch -> MinimumMatch -> Bool # (/=) :: MinimumMatch -> MinimumMatch -> Bool # | |
Show MinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MinimumMatch -> ShowS # show :: MinimumMatch -> String # showList :: [MinimumMatch] -> ShowS # | |
ToJSON MinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MinimumMatch -> Value # toEncoding :: MinimumMatch -> Encoding # toJSONList :: [MinimumMatch] -> Value # toEncodingList :: [MinimumMatch] -> Encoding # | |
FromJSON MinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MinimumMatch # parseJSONList :: Value -> Parser [MinimumMatch] # |
newtype DisableCoord Source #
Instances
Eq DisableCoord Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: DisableCoord -> DisableCoord -> Bool # (/=) :: DisableCoord -> DisableCoord -> Bool # | |
Show DisableCoord Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> DisableCoord -> ShowS # show :: DisableCoord -> String # showList :: [DisableCoord] -> ShowS # | |
ToJSON DisableCoord Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: DisableCoord -> Value # toEncoding :: DisableCoord -> Encoding # toJSONList :: [DisableCoord] -> Value # toEncodingList :: [DisableCoord] -> Encoding # | |
FromJSON DisableCoord Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser DisableCoord # parseJSONList :: Value -> Parser [DisableCoord] # |
newtype IgnoreTermFrequency Source #
Instances
Eq IgnoreTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: IgnoreTermFrequency -> IgnoreTermFrequency -> Bool # (/=) :: IgnoreTermFrequency -> IgnoreTermFrequency -> Bool # | |
Show IgnoreTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> IgnoreTermFrequency -> ShowS # show :: IgnoreTermFrequency -> String # showList :: [IgnoreTermFrequency] -> ShowS # | |
ToJSON IgnoreTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: IgnoreTermFrequency -> Value # toEncoding :: IgnoreTermFrequency -> Encoding # toJSONList :: [IgnoreTermFrequency] -> Value # toEncodingList :: [IgnoreTermFrequency] -> Encoding # | |
FromJSON IgnoreTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser IgnoreTermFrequency # parseJSONList :: Value -> Parser [IgnoreTermFrequency] # |
newtype MinimumTermFrequency Source #
Instances
Eq MinimumTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MinimumTermFrequency -> MinimumTermFrequency -> Bool # (/=) :: MinimumTermFrequency -> MinimumTermFrequency -> Bool # | |
Show MinimumTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MinimumTermFrequency -> ShowS # show :: MinimumTermFrequency -> String # showList :: [MinimumTermFrequency] -> ShowS # | |
ToJSON MinimumTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MinimumTermFrequency -> Value # toEncoding :: MinimumTermFrequency -> Encoding # toJSONList :: [MinimumTermFrequency] -> Value # toEncodingList :: [MinimumTermFrequency] -> Encoding # | |
FromJSON MinimumTermFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MinimumTermFrequency # parseJSONList :: Value -> Parser [MinimumTermFrequency] # |
newtype MaxQueryTerms Source #
Instances
Eq MaxQueryTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MaxQueryTerms -> MaxQueryTerms -> Bool # (/=) :: MaxQueryTerms -> MaxQueryTerms -> Bool # | |
Show MaxQueryTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MaxQueryTerms -> ShowS # show :: MaxQueryTerms -> String # showList :: [MaxQueryTerms] -> ShowS # | |
ToJSON MaxQueryTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MaxQueryTerms -> Value # toEncoding :: MaxQueryTerms -> Encoding # toJSONList :: [MaxQueryTerms] -> Value # toEncodingList :: [MaxQueryTerms] -> Encoding # | |
FromJSON MaxQueryTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MaxQueryTerms # parseJSONList :: Value -> Parser [MaxQueryTerms] # |
newtype PrefixLength Source #
PrefixLength
is the prefix length used in queries, defaults to 0.
Instances
Eq PrefixLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: PrefixLength -> PrefixLength -> Bool # (/=) :: PrefixLength -> PrefixLength -> Bool # | |
Show PrefixLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> PrefixLength -> ShowS # show :: PrefixLength -> String # showList :: [PrefixLength] -> ShowS # | |
ToJSON PrefixLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: PrefixLength -> Value # toEncoding :: PrefixLength -> Encoding # toJSONList :: [PrefixLength] -> Value # toEncodingList :: [PrefixLength] -> Encoding # | |
FromJSON PrefixLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser PrefixLength # parseJSONList :: Value -> Parser [PrefixLength] # |
newtype PercentMatch Source #
Instances
Eq PercentMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: PercentMatch -> PercentMatch -> Bool # (/=) :: PercentMatch -> PercentMatch -> Bool # | |
Show PercentMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> PercentMatch -> ShowS # show :: PercentMatch -> String # showList :: [PercentMatch] -> ShowS # | |
ToJSON PercentMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: PercentMatch -> Value # toEncoding :: PercentMatch -> Encoding # toJSONList :: [PercentMatch] -> Value # toEncodingList :: [PercentMatch] -> Encoding # | |
FromJSON PercentMatch Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser PercentMatch # parseJSONList :: Value -> Parser [PercentMatch] # |
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.
Instances
Eq AllowLeadingWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: AllowLeadingWildcard -> AllowLeadingWildcard -> Bool # (/=) :: AllowLeadingWildcard -> AllowLeadingWildcard -> Bool # | |
Show AllowLeadingWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> AllowLeadingWildcard -> ShowS # show :: AllowLeadingWildcard -> String # showList :: [AllowLeadingWildcard] -> ShowS # | |
ToJSON AllowLeadingWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: AllowLeadingWildcard -> Value # toEncoding :: AllowLeadingWildcard -> Encoding # toJSONList :: [AllowLeadingWildcard] -> Value # toEncodingList :: [AllowLeadingWildcard] -> Encoding # | |
FromJSON AllowLeadingWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser AllowLeadingWildcard # parseJSONList :: Value -> Parser [AllowLeadingWildcard] # |
newtype LowercaseExpanded Source #
Instances
Eq LowercaseExpanded Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: LowercaseExpanded -> LowercaseExpanded -> Bool # (/=) :: LowercaseExpanded -> LowercaseExpanded -> Bool # | |
Show LowercaseExpanded Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> LowercaseExpanded -> ShowS # show :: LowercaseExpanded -> String # showList :: [LowercaseExpanded] -> ShowS # | |
ToJSON LowercaseExpanded Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: LowercaseExpanded -> Value # toEncoding :: LowercaseExpanded -> Encoding # toJSONList :: [LowercaseExpanded] -> Value # toEncodingList :: [LowercaseExpanded] -> Encoding # | |
FromJSON LowercaseExpanded Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser LowercaseExpanded # parseJSONList :: Value -> Parser [LowercaseExpanded] # |
newtype EnablePositionIncrements Source #
Instances
newtype AnalyzeWildcard Source #
By default, wildcard terms in a query are not analyzed.
Setting AnalyzeWildcard
to true enables best-effort analysis.
Instances
Eq AnalyzeWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: AnalyzeWildcard -> AnalyzeWildcard -> Bool # (/=) :: AnalyzeWildcard -> AnalyzeWildcard -> Bool # | |
Show AnalyzeWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> AnalyzeWildcard -> ShowS # show :: AnalyzeWildcard -> String # showList :: [AnalyzeWildcard] -> ShowS # | |
ToJSON AnalyzeWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: AnalyzeWildcard -> Value # toEncoding :: AnalyzeWildcard -> Encoding # toJSONList :: [AnalyzeWildcard] -> Value # toEncodingList :: [AnalyzeWildcard] -> Encoding # | |
FromJSON AnalyzeWildcard Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser AnalyzeWildcard # parseJSONList :: Value -> Parser [AnalyzeWildcard] # |
newtype GeneratePhraseQueries Source #
GeneratePhraseQueries
defaults to false.
Instances
Eq GeneratePhraseQueries Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: GeneratePhraseQueries -> GeneratePhraseQueries -> Bool # (/=) :: GeneratePhraseQueries -> GeneratePhraseQueries -> Bool # | |
Show GeneratePhraseQueries Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> GeneratePhraseQueries -> ShowS # show :: GeneratePhraseQueries -> String # showList :: [GeneratePhraseQueries] -> ShowS # | |
ToJSON GeneratePhraseQueries Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: GeneratePhraseQueries -> Value # toEncoding :: GeneratePhraseQueries -> Encoding # toJSONList :: [GeneratePhraseQueries] -> Value # toEncodingList :: [GeneratePhraseQueries] -> Encoding # | |
FromJSON GeneratePhraseQueries Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser GeneratePhraseQueries # parseJSONList :: Value -> Parser [GeneratePhraseQueries] # |
Locale
is used for string conversions - defaults to ROOT.
newtype MaxWordLength Source #
Instances
Eq MaxWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MaxWordLength -> MaxWordLength -> Bool # (/=) :: MaxWordLength -> MaxWordLength -> Bool # | |
Show MaxWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MaxWordLength -> ShowS # show :: MaxWordLength -> String # showList :: [MaxWordLength] -> ShowS # | |
ToJSON MaxWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MaxWordLength -> Value # toEncoding :: MaxWordLength -> Encoding # toJSONList :: [MaxWordLength] -> Value # toEncodingList :: [MaxWordLength] -> Encoding # | |
FromJSON MaxWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MaxWordLength # parseJSONList :: Value -> Parser [MaxWordLength] # |
newtype MinWordLength Source #
Instances
Eq MinWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MinWordLength -> MinWordLength -> Bool # (/=) :: MinWordLength -> MinWordLength -> Bool # | |
Show MinWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MinWordLength -> ShowS # show :: MinWordLength -> String # showList :: [MinWordLength] -> ShowS # | |
ToJSON MinWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MinWordLength -> Value # toEncoding :: MinWordLength -> Encoding # toJSONList :: [MinWordLength] -> Value # toEncodingList :: [MinWordLength] -> Encoding # | |
FromJSON MinWordLength Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MinWordLength # parseJSONList :: Value -> Parser [MinWordLength] # |
newtype PhraseSlop Source #
PhraseSlop
sets the default slop for phrases, 0 means exact
phrase matches. Default is 0.
Instances
Eq PhraseSlop Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: PhraseSlop -> PhraseSlop -> Bool # (/=) :: PhraseSlop -> PhraseSlop -> Bool # | |
Show PhraseSlop Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> PhraseSlop -> ShowS # show :: PhraseSlop -> String # showList :: [PhraseSlop] -> ShowS # | |
ToJSON PhraseSlop Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: PhraseSlop -> Value # toEncoding :: PhraseSlop -> Encoding # toJSONList :: [PhraseSlop] -> Value # toEncodingList :: [PhraseSlop] -> Encoding # | |
FromJSON PhraseSlop Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser PhraseSlop # parseJSONList :: Value -> Parser [PhraseSlop] # |
newtype MinDocFrequency Source #
Instances
Eq MinDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MinDocFrequency -> MinDocFrequency -> Bool # (/=) :: MinDocFrequency -> MinDocFrequency -> Bool # | |
Show MinDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MinDocFrequency -> ShowS # show :: MinDocFrequency -> String # showList :: [MinDocFrequency] -> ShowS # | |
ToJSON MinDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MinDocFrequency -> Value # toEncoding :: MinDocFrequency -> Encoding # toJSONList :: [MinDocFrequency] -> Value # toEncodingList :: [MinDocFrequency] -> Encoding # | |
FromJSON MinDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MinDocFrequency # parseJSONList :: Value -> Parser [MinDocFrequency] # |
newtype MaxDocFrequency Source #
Instances
Eq MaxDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MaxDocFrequency -> MaxDocFrequency -> Bool # (/=) :: MaxDocFrequency -> MaxDocFrequency -> Bool # | |
Show MaxDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MaxDocFrequency -> ShowS # show :: MaxDocFrequency -> String # showList :: [MaxDocFrequency] -> ShowS # | |
ToJSON MaxDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MaxDocFrequency -> Value # toEncoding :: MaxDocFrequency -> Encoding # toJSONList :: [MaxDocFrequency] -> Value # toEncodingList :: [MaxDocFrequency] -> Encoding # | |
FromJSON MaxDocFrequency Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MaxDocFrequency # parseJSONList :: Value -> Parser [MaxDocFrequency] # |
newtype AggregateParentScore Source #
Indicates whether the relevance score of a matching parent document is aggregated into its child documents.
Instances
Eq AggregateParentScore Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: AggregateParentScore -> AggregateParentScore -> Bool # (/=) :: AggregateParentScore -> AggregateParentScore -> Bool # | |
Show AggregateParentScore Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> AggregateParentScore -> ShowS # show :: AggregateParentScore -> String # showList :: [AggregateParentScore] -> ShowS # | |
ToJSON AggregateParentScore Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: AggregateParentScore -> Value # toEncoding :: AggregateParentScore -> Encoding # toJSONList :: [AggregateParentScore] -> Value # toEncodingList :: [AggregateParentScore] -> Encoding # | |
FromJSON AggregateParentScore Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser AggregateParentScore # parseJSONList :: Value -> Parser [AggregateParentScore] # |
newtype IgnoreUnmapped Source #
Indicates whether to ignore an unmapped parent_type and not return any documents instead of an error.
Instances
Eq IgnoreUnmapped Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: IgnoreUnmapped -> IgnoreUnmapped -> Bool # (/=) :: IgnoreUnmapped -> IgnoreUnmapped -> Bool # | |
Show IgnoreUnmapped Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> IgnoreUnmapped -> ShowS # show :: IgnoreUnmapped -> String # showList :: [IgnoreUnmapped] -> ShowS # | |
ToJSON IgnoreUnmapped Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: IgnoreUnmapped -> Value # toEncoding :: IgnoreUnmapped -> Encoding # toJSONList :: [IgnoreUnmapped] -> Value # toEncodingList :: [IgnoreUnmapped] -> Encoding # | |
FromJSON IgnoreUnmapped Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser IgnoreUnmapped # parseJSONList :: Value -> Parser [IgnoreUnmapped] # |
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.
Instances
Eq MinChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MinChildren -> MinChildren -> Bool # (/=) :: MinChildren -> MinChildren -> Bool # | |
Show MinChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MinChildren -> ShowS # show :: MinChildren -> String # showList :: [MinChildren] -> ShowS # | |
ToJSON MinChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MinChildren -> Value # toEncoding :: MinChildren -> Encoding # toJSONList :: [MinChildren] -> Value # toEncodingList :: [MinChildren] -> Encoding # | |
FromJSON MinChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MinChildren # parseJSONList :: Value -> Parser [MinChildren] # |
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.
Instances
Eq MaxChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: MaxChildren -> MaxChildren -> Bool # (/=) :: MaxChildren -> MaxChildren -> Bool # | |
Show MaxChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> MaxChildren -> ShowS # show :: MaxChildren -> String # showList :: [MaxChildren] -> ShowS # | |
ToJSON MaxChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: MaxChildren -> Value # toEncoding :: MaxChildren -> Encoding # toJSONList :: [MaxChildren] -> Value # toEncodingList :: [MaxChildren] -> Encoding # | |
FromJSON MaxChildren Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser MaxChildren # parseJSONList :: Value -> Parser [MaxChildren] # |
Newtype wrapper to parse ES's concerning tendency to in some APIs return a floating point number of milliseconds since epoch ಠ_ಠ
newtype BoostTerms Source #
Instances
Eq BoostTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: BoostTerms -> BoostTerms -> Bool # (/=) :: BoostTerms -> BoostTerms -> Bool # | |
Show BoostTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> BoostTerms -> ShowS # show :: BoostTerms -> String # showList :: [BoostTerms] -> ShowS # | |
ToJSON BoostTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: BoostTerms -> Value # toEncoding :: BoostTerms -> Encoding # toJSONList :: [BoostTerms] -> Value # toEncodingList :: [BoostTerms] -> Encoding # | |
FromJSON BoostTerms Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser BoostTerms # parseJSONList :: Value -> Parser [BoostTerms] # |
newtype ReplicaCount Source #
ReplicaCount
is part of IndexSettings
Instances
Eq ReplicaCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: ReplicaCount -> ReplicaCount -> Bool # (/=) :: ReplicaCount -> ReplicaCount -> Bool # | |
Show ReplicaCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> ReplicaCount -> ShowS # show :: ReplicaCount -> String # showList :: [ReplicaCount] -> ShowS # | |
ToJSON ReplicaCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: ReplicaCount -> Value # toEncoding :: ReplicaCount -> Encoding # toJSONList :: [ReplicaCount] -> Value # toEncodingList :: [ReplicaCount] -> Encoding # | |
FromJSON ReplicaCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser ReplicaCount # parseJSONList :: Value -> Parser [ReplicaCount] # |
newtype ShardCount Source #
ShardCount
is part of IndexSettings
Instances
Eq ShardCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: ShardCount -> ShardCount -> Bool # (/=) :: ShardCount -> ShardCount -> Bool # | |
Show ShardCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> ShardCount -> ShowS # show :: ShardCount -> String # showList :: [ShardCount] -> ShowS # | |
ToJSON ShardCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: ShardCount -> Value # toEncoding :: ShardCount -> Encoding # toJSONList :: [ShardCount] -> Value # toEncodingList :: [ShardCount] -> Encoding # | |
FromJSON ShardCount Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser ShardCount # parseJSONList :: Value -> Parser [ShardCount] # |
IndexName
is used to describe which index to querycreatedelete
newtype IndexAliasName Source #
Instances
Eq IndexAliasName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: IndexAliasName -> IndexAliasName -> Bool # (/=) :: IndexAliasName -> IndexAliasName -> Bool # | |
Show IndexAliasName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> IndexAliasName -> ShowS # show :: IndexAliasName -> String # showList :: [IndexAliasName] -> ShowS # | |
ToJSON IndexAliasName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: IndexAliasName -> Value # toEncoding :: IndexAliasName -> Encoding # toJSONList :: [IndexAliasName] -> Value # toEncodingList :: [IndexAliasName] -> Encoding # |
newtype SnapshotName Source #
Instances
Eq SnapshotName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: SnapshotName -> SnapshotName -> Bool # (/=) :: SnapshotName -> SnapshotName -> Bool # | |
Show SnapshotName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> SnapshotName -> ShowS # show :: SnapshotName -> String # showList :: [SnapshotName] -> ShowS # | |
ToJSON SnapshotName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: SnapshotName -> Value # toEncoding :: SnapshotName -> Encoding # toJSONList :: [SnapshotName] -> Value # toEncodingList :: [SnapshotName] -> Encoding # | |
FromJSON SnapshotName Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser SnapshotName # parseJSONList :: Value -> Parser [SnapshotName] # |
Milliseconds
unMS :: MS -> NominalDiffTime Source #
newtype TokenFilter Source #
Instances
Eq TokenFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: TokenFilter -> TokenFilter -> Bool # (/=) :: TokenFilter -> TokenFilter -> Bool # | |
Show TokenFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> TokenFilter -> ShowS # show :: TokenFilter -> String # showList :: [TokenFilter] -> ShowS # | |
ToJSON TokenFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: TokenFilter -> Value # toEncoding :: TokenFilter -> Encoding # toJSONList :: [TokenFilter] -> Value # toEncodingList :: [TokenFilter] -> Encoding # | |
FromJSON TokenFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser TokenFilter # parseJSONList :: Value -> Parser [TokenFilter] # |
newtype CharFilter Source #
Instances
Eq CharFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes (==) :: CharFilter -> CharFilter -> Bool # (/=) :: CharFilter -> CharFilter -> Bool # | |
Show CharFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes showsPrec :: Int -> CharFilter -> ShowS # show :: CharFilter -> String # showList :: [CharFilter] -> ShowS # | |
ToJSON CharFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes toJSON :: CharFilter -> Value # toEncoding :: CharFilter -> Encoding # toJSONList :: [CharFilter] -> Value # toEncodingList :: [CharFilter] -> Encoding # | |
FromJSON CharFilter Source # | |
Defined in Database.Bloodhound.Internal.Newtypes parseJSON :: Value -> Parser CharFilter # parseJSONList :: Value -> Parser [CharFilter] # |