Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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 BoostTerms Source #
newtype ReplicaCount Source #
ReplicaCount
is part of IndexSettings
newtype ShardCount Source #
ShardCount
is part of IndexSettings
newtype TemplateName Source #
TemplateName
is used to describe which template to querycreatedelete
newtype TemplatePattern Source #
TemplatePattern
represents a pattern which is matched against index names
newtype MappingName Source #
MappingName
is part of mappings which are how ES describes and schematizes
the data in the indices.
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.
Script
is often used in place of FieldName
to specify more
complex ways of extracting a value from a document.
Script | |
|
CacheKey
is used in RegexpFilter
to key regex caching.
newtype CutoffFrequency Source #
newtype MaxExpansions Source #
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 #
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.
newtype DisableCoord Source #
newtype IgnoreTermFrequency Source #
newtype MinimumTermFrequency Source #
newtype MaxQueryTerms Source #
newtype PrefixLength Source #
PrefixLength
is the prefix length used in queries, defaults to 0.
newtype PercentMatch Source #
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.
newtype LowercaseExpanded Source #
newtype EnablePositionIncrements Source #
newtype AnalyzeWildcard Source #
By default, wildcard terms in a query are not analyzed.
Setting AnalyzeWildcard
to true enables best-effort analysis.
newtype GeneratePhraseQueries Source #
GeneratePhraseQueries
defaults to false.
Locale
is used for string conversions - defaults to ROOT.
newtype MaxWordLength Source #
newtype MinWordLength Source #
newtype PhraseSlop Source #
PhraseSlop
sets the default slop for phrases, 0 means exact
phrase matches. Default is 0.
newtype MinDocFrequency Source #
newtype MaxDocFrequency Source #
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
newtype IndexAliasName Source #
unMS :: MS -> NominalDiffTime Source #