Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype From = From Int
- newtype Size = Size Int
- newtype HitFields = HitFields (Map Text [Value])
- type Score = Maybe Double
- newtype MappingName = MappingName Text
- newtype ShardId = ShardId {}
- newtype DocId = DocId Text
- newtype FieldName = FieldName Text
- newtype TypeName = TypeName 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 Fuzziness = Fuzziness Double
- 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 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
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.
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 QueryString Source #
QueryString
is used to wrap query text bodies, be they human written or not.
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 ಠ_ಠ
newtype BoostTerms Source #
newtype ReplicaCount Source #
ReplicaCount
is part of IndexSettings
newtype ShardCount Source #
ShardCount
is part of IndexSettings
IndexName
is used to describe which index to querycreatedelete
newtype IndexAliasName Source #
newtype SnapshotName Source #
unMS :: MS -> NominalDiffTime Source #
newtype TokenFilter Source #