Safe Haskell | None |
---|---|
Language | Haskell2010 |
Database.V1.Bloodhound.Internal.Newtypes
- newtype From = From Int
- newtype Size = Size Int
- newtype FieldName = FieldName Text
- newtype Boost = Boost Double
- newtype BoostTerms = BoostTerms Double
- newtype ReplicaCount = ReplicaCount Int
- newtype ShardCount = ShardCount Int
- newtype TemplateName = TemplateName Text
- newtype TemplatePattern = TemplatePattern Text
- newtype MappingName = MappingName Text
- newtype DocId = DocId Text
- newtype QueryString = QueryString Text
- newtype Script = Script {
- scriptText :: 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 Fuzziness = Fuzziness Double
- newtype PrefixLength = PrefixLength Int
- newtype TypeName = TypeName Text
- 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 POSIXMS = POSIXMS {}
- newtype IndexName = IndexName Text
- newtype IndexAliasName = IndexAliasName {}
- type Score = Maybe Double
- newtype ShardId = ShardId {}
- newtype MS = MS NominalDiffTime
- unMS :: MS -> NominalDiffTime
- newtype MaybeNA a = MaybeNA {}
- newtype SnapshotName = SnapshotName {
- snapshotName :: Text
Documentation
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 ReplicaCount Source #
ReplicaCount
is part of IndexSettings
Constructors
ReplicaCount Int |
Instances
newtype TemplateName Source #
TemplateName
is used to describe which template to querycreatedelete
Constructors
TemplateName Text |
Instances
newtype TemplatePattern Source #
TemplatePattern
represents a pattern which is matched against index names
Constructors
TemplatePattern Text |
newtype MappingName Source #
MappingName
is part of mappings which are how ES describes and schematizes
the data in the indices.
Constructors
MappingName Text |
Instances
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.
newtype QueryString Source #
QueryString
is used to wrap query text bodies, be they human written or not.
Constructors
QueryString Text |
Instances
Script
is often used in place of FieldName
to specify more
complex ways of extracting a value from a document.
Constructors
Script | |
Fields
|
CacheKey
is used in RegexpFilter
to key regex caching.
newtype CutoffFrequency Source #
Constructors
CutoffFrequency Double |
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 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 |
Instances
newtype IgnoreTermFrequency Source #
Constructors
IgnoreTermFrequency Bool |
newtype MinimumTermFrequency Source #
Constructors
MinimumTermFrequency Int |
newtype PrefixLength Source #
PrefixLength
is the prefix length used in queries, defaults to 0.
Constructors
PrefixLength Int |
Instances
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.
Constructors
AllowLeadingWildcard Bool |
newtype LowercaseExpanded Source #
Constructors
LowercaseExpanded Bool |
newtype EnablePositionIncrements Source #
Constructors
EnablePositionIncrements Bool |
newtype AnalyzeWildcard Source #
By default, wildcard terms in a query are not analyzed.
Setting AnalyzeWildcard
to true enables best-effort analysis.
Constructors
AnalyzeWildcard Bool |
newtype GeneratePhraseQueries Source #
GeneratePhraseQueries
defaults to false.
Constructors
GeneratePhraseQueries Bool |
Locale
is used for string conversions - defaults to ROOT.
newtype PhraseSlop Source #
PhraseSlop
sets the default slop for phrases, 0 means exact
phrase matches. Default is 0.
Constructors
PhraseSlop Int |
Instances
newtype MinDocFrequency Source #
Constructors
MinDocFrequency Int |
newtype MaxDocFrequency Source #
Constructors
MaxDocFrequency Int |
Newtype wrapper to parse ES's concerning tendency to in some APIs return a floating point number of milliseconds since epoch ಠ_ಠ
IndexName
is used to describe which index to querycreatedelete
unMS :: MS -> NominalDiffTime Source #
newtype SnapshotName Source #
Constructors
SnapshotName | |
Fields
|