Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ScriptFields = ScriptFields (KeyMap ScriptFieldValue)
- type ScriptFieldValue = Value
- data ScriptSource
- data Script = Script {}
- newtype ScriptLanguage = ScriptLanguage Text
- newtype ScriptParams = ScriptParams (KeyMap ScriptParamValue)
- type ScriptParamValue = Value
- data BoostMode
- data ScoreMode
- data FunctionScoreFunction
- newtype Weight = Weight Float
- newtype Seed = Seed Float
- data FieldValueFactor = FieldValueFactor {}
- newtype Factor = Factor Float
- data FactorModifier
- newtype FactorMissingFieldValue = FactorMissingFieldValue Float
- functionScoreFunctionPair :: FunctionScoreFunction -> (Key, Value)
- parseFunctionScoreFunction :: Object -> Parser FunctionScoreFunction
- module Data.Aeson.KeyMap
- data InnerHits = InnerHits {}
- data Fuzziness
- data ComponentFunctionScoreFunction = ComponentFunctionScoreFunction {}
- data FunctionScoreFunctions
- data FunctionScoreQuery = FunctionScoreQuery {}
- type Cache = Bool
- data BooleanOperator
- newtype TemplateQueryKeyValuePairs = TemplateQueryKeyValuePairs (KeyMap TemplateQueryValue)
- type TemplateQueryValue = Text
- data DistanceRange = DistanceRange {}
- data Distance = Distance {}
- data OptimizeBbox
- data DistanceType
- data DistanceUnit
- = Miles
- | Yards
- | Feet
- | Inches
- | Kilometers
- | Meters
- | Centimeters
- | Millimeters
- | NauticalMiles
- data GeoPoint = GeoPoint {}
- data GeoBoundingBoxConstraint = GeoBoundingBoxConstraint {}
- data GeoBoundingBox = GeoBoundingBox {
- topLeft :: LatLon
- bottomRight :: LatLon
- data LatLon = LatLon {}
- data GeoFilterType
- data BoolMatch
- data Term = Term {}
- data RangeValue
- = RangeDateLte LessThanEqD
- | RangeDateLt LessThanD
- | RangeDateGte GreaterThanEqD
- | RangeDateGt GreaterThanD
- | RangeDateGtLt GreaterThanD LessThanD
- | RangeDateGteLte GreaterThanEqD LessThanEqD
- | RangeDateGteLt GreaterThanEqD LessThanD
- | RangeDateGtLte GreaterThanD LessThanEqD
- | RangeDoubleLte LessThanEq
- | RangeDoubleLt LessThan
- | RangeDoubleGte GreaterThanEq
- | RangeDoubleGt GreaterThan
- | RangeDoubleGtLt GreaterThan LessThan
- | RangeDoubleGteLte GreaterThanEq LessThanEq
- | RangeDoubleGteLt GreaterThanEq LessThan
- | RangeDoubleGtLte GreaterThan LessThanEq
- newtype GreaterThanEqD = GreaterThanEqD UTCTime
- newtype GreaterThanD = GreaterThanD UTCTime
- newtype LessThanEqD = LessThanEqD UTCTime
- newtype LessThanD = LessThanD UTCTime
- newtype GreaterThanEq = GreaterThanEq Double
- newtype GreaterThan = GreaterThan Double
- newtype LessThanEq = LessThanEq Double
- newtype LessThan = LessThan Double
- data RegexpFlag
- data RegexpFlags
- newtype Regexp = Regexp Text
- data RangeExecution
- data ZeroTermsQuery
- data MinimumMatchHighLow = MinimumMatchHighLow {}
- data CommonMinimumMatch
- data CommonTermsQuery = CommonTermsQuery {
- commonField :: FieldName
- commonQuery :: QueryString
- commonCutoffFrequency :: CutoffFrequency
- commonLowFreqOperator :: BooleanOperator
- commonHighFreqOperator :: BooleanOperator
- commonMinimumShouldMatch :: Maybe CommonMinimumMatch
- commonBoost :: Maybe Boost
- commonAnalyzer :: Maybe Analyzer
- commonDisableCoord :: Maybe DisableCoord
- data BoostingQuery = BoostingQuery {}
- data BoolQuery = BoolQuery {}
- data MultiMatchQueryType
- data MultiMatchQuery = MultiMatchQuery {
- multiMatchQueryFields :: [FieldName]
- multiMatchQueryString :: QueryString
- multiMatchQueryOperator :: BooleanOperator
- multiMatchQueryZeroTerms :: ZeroTermsQuery
- multiMatchQueryTiebreaker :: Maybe Tiebreaker
- multiMatchQueryType :: Maybe MultiMatchQueryType
- multiMatchQueryCutoffFrequency :: Maybe CutoffFrequency
- multiMatchQueryAnalyzer :: Maybe Analyzer
- multiMatchQueryMaxExpansions :: Maybe MaxExpansions
- multiMatchQueryLenient :: Maybe Lenient
- data MatchQueryType
- data MatchQuery = MatchQuery {
- matchQueryField :: FieldName
- matchQueryQueryString :: QueryString
- matchQueryOperator :: BooleanOperator
- matchQueryZeroTerms :: ZeroTermsQuery
- matchQueryCutoffFrequency :: Maybe CutoffFrequency
- matchQueryMatchType :: Maybe MatchQueryType
- matchQueryAnalyzer :: Maybe Analyzer
- matchQueryMaxExpansions :: Maybe MaxExpansions
- matchQueryLenient :: Maybe Lenient
- matchQueryBoost :: Maybe Boost
- matchQueryMinimumShouldMatch :: Maybe Text
- matchQueryFuzziness :: Maybe Fuzziness
- data DisMaxQuery = DisMaxQuery {}
- data FuzzyLikeThisQuery = FuzzyLikeThisQuery {}
- data FuzzyLikeFieldQuery = FuzzyLikeFieldQuery {}
- data FuzzyQuery = FuzzyQuery {}
- data ScoreType
- data HasChildQuery = HasChildQuery {}
- data HasParentQuery = HasParentQuery {}
- data IndicesQuery = IndicesQuery {}
- data MoreLikeThisQuery = MoreLikeThisQuery {
- moreLikeThisText :: Text
- moreLikeThisFields :: Maybe (NonEmpty FieldName)
- moreLikeThisPercentMatch :: Maybe PercentMatch
- moreLikeThisMinimumTermFreq :: Maybe MinimumTermFrequency
- moreLikeThisMaxQueryTerms :: Maybe MaxQueryTerms
- moreLikeThisStopWords :: Maybe (NonEmpty StopWord)
- moreLikeThisMinDocFrequency :: Maybe MinDocFrequency
- moreLikeThisMaxDocFrequency :: Maybe MaxDocFrequency
- moreLikeThisMinWordLength :: Maybe MinWordLength
- moreLikeThisMaxWordLength :: Maybe MaxWordLength
- moreLikeThisBoostTerms :: Maybe BoostTerms
- moreLikeThisBoost :: Maybe Boost
- moreLikeThisAnalyzer :: Maybe Analyzer
- data MoreLikeThisFieldQuery = MoreLikeThisFieldQuery {
- moreLikeThisFieldText :: Text
- moreLikeThisFieldFields :: FieldName
- moreLikeThisFieldPercentMatch :: Maybe PercentMatch
- moreLikeThisFieldMinimumTermFreq :: Maybe MinimumTermFrequency
- moreLikeThisFieldMaxQueryTerms :: Maybe MaxQueryTerms
- moreLikeThisFieldStopWords :: Maybe (NonEmpty StopWord)
- moreLikeThisFieldMinDocFrequency :: Maybe MinDocFrequency
- moreLikeThisFieldMaxDocFrequency :: Maybe MaxDocFrequency
- moreLikeThisFieldMinWordLength :: Maybe MinWordLength
- moreLikeThisFieldMaxWordLength :: Maybe MaxWordLength
- moreLikeThisFieldBoostTerms :: Maybe BoostTerms
- moreLikeThisFieldBoost :: Maybe Boost
- moreLikeThisFieldAnalyzer :: Maybe Analyzer
- data NestedQuery = NestedQuery {}
- data PrefixQuery = PrefixQuery {}
- data FieldOrFields
- data QueryStringQuery = QueryStringQuery {
- queryStringQuery :: QueryString
- queryStringDefaultField :: Maybe FieldName
- queryStringOperator :: Maybe BooleanOperator
- queryStringAnalyzer :: Maybe Analyzer
- queryStringAllowLeadingWildcard :: Maybe AllowLeadingWildcard
- queryStringLowercaseExpanded :: Maybe LowercaseExpanded
- queryStringEnablePositionIncrements :: Maybe EnablePositionIncrements
- queryStringFuzzyMaxExpansions :: Maybe MaxExpansions
- queryStringFuzziness :: Maybe Fuzziness
- queryStringFuzzyPrefixLength :: Maybe PrefixLength
- queryStringPhraseSlop :: Maybe PhraseSlop
- queryStringBoost :: Maybe Boost
- queryStringAnalyzeWildcard :: Maybe AnalyzeWildcard
- queryStringGeneratePhraseQueries :: Maybe GeneratePhraseQueries
- queryStringMinimumShouldMatch :: Maybe MinimumMatch
- queryStringLenient :: Maybe Lenient
- queryStringLocale :: Maybe Locale
- data SimpleQueryFlag
- data SimpleQueryStringQuery = SimpleQueryStringQuery {
- simpleQueryStringQuery :: QueryString
- simpleQueryStringField :: Maybe FieldOrFields
- simpleQueryStringOperator :: Maybe BooleanOperator
- simpleQueryStringAnalyzer :: Maybe Analyzer
- simpleQueryStringFlags :: Maybe (NonEmpty SimpleQueryFlag)
- simpleQueryStringLowercaseExpanded :: Maybe LowercaseExpanded
- simpleQueryStringLocale :: Maybe Locale
- data RangeQuery = RangeQuery {}
- data WildcardQuery = WildcardQuery {}
- data RegexpQuery = RegexpQuery {}
- newtype Filter = Filter {}
- data Query
- = TermQuery Term (Maybe Boost)
- | TermsQuery Key (NonEmpty Text)
- | QueryMatchQuery MatchQuery
- | QueryMultiMatchQuery MultiMatchQuery
- | QueryBoolQuery BoolQuery
- | QueryBoostingQuery BoostingQuery
- | QueryCommonTermsQuery CommonTermsQuery
- | ConstantScoreQuery Query Boost
- | QueryFunctionScoreQuery FunctionScoreQuery
- | QueryDisMaxQuery DisMaxQuery
- | QueryFuzzyLikeThisQuery FuzzyLikeThisQuery
- | QueryFuzzyLikeFieldQuery FuzzyLikeFieldQuery
- | QueryFuzzyQuery FuzzyQuery
- | QueryHasChildQuery HasChildQuery
- | QueryHasParentQuery HasParentQuery
- | IdsQuery [DocId]
- | QueryIndicesQuery IndicesQuery
- | MatchAllQuery (Maybe Boost)
- | QueryMoreLikeThisQuery MoreLikeThisQuery
- | QueryMoreLikeThisFieldQuery MoreLikeThisFieldQuery
- | QueryNestedQuery NestedQuery
- | QueryPrefixQuery PrefixQuery
- | QueryQueryStringQuery QueryStringQuery
- | QuerySimpleQueryStringQuery SimpleQueryStringQuery
- | QueryRangeQuery RangeQuery
- | QueryRegexpQuery RegexpQuery
- | QueryExistsQuery FieldName
- | QueryMatchNoneQuery
- | QueryWildcardQuery WildcardQuery
- mkRangeQuery :: FieldName -> RangeValue -> RangeQuery
- mkQueryStringQuery :: QueryString -> QueryStringQuery
- mkMatchQuery :: FieldName -> QueryString -> MatchQuery
- mkMultiMatchQuery :: [FieldName] -> QueryString -> MultiMatchQuery
- mkBoolQuery :: [Query] -> [Filter] -> [Query] -> [Query] -> BoolQuery
- parseRangeValue :: (FromJSON t4, FromJSON t3, FromJSON t2, FromJSON t1) => (t3 -> t5) -> (t1 -> t6) -> (t4 -> t7) -> (t2 -> t8) -> (t5 -> t6 -> b) -> (t7 -> t6 -> b) -> (t5 -> t8 -> b) -> (t7 -> t8 -> b) -> (t5 -> b) -> (t6 -> b) -> (t7 -> b) -> (t8 -> b) -> Parser b -> Object -> Parser b
- rangeValueToPair :: RangeValue -> [Pair]
- defaultCache :: Cache
- functionScoreFunctionsPair :: FunctionScoreFunctions -> (Key, Value)
- fieldTagged :: (Monad m, MonadFail m) => (FieldName -> Object -> m a) -> Object -> m a
Documentation
newtype ScriptFields Source #
Instances
Eq ScriptFields Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: ScriptFields -> ScriptFields -> Bool # (/=) :: ScriptFields -> ScriptFields -> Bool # | |
Show ScriptFields Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> ScriptFields -> ShowS # show :: ScriptFields -> String # showList :: [ScriptFields] -> ShowS # | |
ToJSON ScriptFields Source # | |
Defined in Database.Bloodhound.Common.Script toJSON :: ScriptFields -> Value # toEncoding :: ScriptFields -> Encoding # toJSONList :: [ScriptFields] -> Value # toEncodingList :: [ScriptFields] -> Encoding # | |
FromJSON ScriptFields Source # | |
Defined in Database.Bloodhound.Common.Script parseJSON :: Value -> Parser ScriptFields # parseJSONList :: Value -> Parser [ScriptFields] # |
type ScriptFieldValue = Value Source #
data ScriptSource Source #
Instances
Eq ScriptSource Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: ScriptSource -> ScriptSource -> Bool # (/=) :: ScriptSource -> ScriptSource -> Bool # | |
Show ScriptSource Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> ScriptSource -> ShowS # show :: ScriptSource -> String # showList :: [ScriptSource] -> ShowS # |
newtype ScriptLanguage Source #
Instances
Eq ScriptLanguage Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: ScriptLanguage -> ScriptLanguage -> Bool # (/=) :: ScriptLanguage -> ScriptLanguage -> Bool # | |
Show ScriptLanguage Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> ScriptLanguage -> ShowS # show :: ScriptLanguage -> String # showList :: [ScriptLanguage] -> ShowS # | |
ToJSON ScriptLanguage Source # | |
Defined in Database.Bloodhound.Common.Script toJSON :: ScriptLanguage -> Value # toEncoding :: ScriptLanguage -> Encoding # toJSONList :: [ScriptLanguage] -> Value # toEncodingList :: [ScriptLanguage] -> Encoding # | |
FromJSON ScriptLanguage Source # | |
Defined in Database.Bloodhound.Common.Script parseJSON :: Value -> Parser ScriptLanguage # parseJSONList :: Value -> Parser [ScriptLanguage] # |
newtype ScriptParams Source #
Instances
Eq ScriptParams Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: ScriptParams -> ScriptParams -> Bool # (/=) :: ScriptParams -> ScriptParams -> Bool # | |
Show ScriptParams Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> ScriptParams -> ShowS # show :: ScriptParams -> String # showList :: [ScriptParams] -> ShowS # | |
ToJSON ScriptParams Source # | |
Defined in Database.Bloodhound.Common.Script toJSON :: ScriptParams -> Value # toEncoding :: ScriptParams -> Encoding # toJSONList :: [ScriptParams] -> Value # toEncodingList :: [ScriptParams] -> Encoding # | |
FromJSON ScriptParams Source # | |
Defined in Database.Bloodhound.Common.Script parseJSON :: Value -> Parser ScriptParams # parseJSONList :: Value -> Parser [ScriptParams] # |
type ScriptParamValue = Value Source #
data FunctionScoreFunction Source #
FunctionScoreFunctionScript Script | |
FunctionScoreFunctionRandom Seed | |
FunctionScoreFunctionFieldValueFactor FieldValueFactor |
Instances
Eq FunctionScoreFunction Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: FunctionScoreFunction -> FunctionScoreFunction -> Bool # (/=) :: FunctionScoreFunction -> FunctionScoreFunction -> Bool # | |
Show FunctionScoreFunction Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> FunctionScoreFunction -> ShowS # show :: FunctionScoreFunction -> String # showList :: [FunctionScoreFunction] -> ShowS # |
data FieldValueFactor Source #
Instances
Eq FieldValueFactor Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: FieldValueFactor -> FieldValueFactor -> Bool # (/=) :: FieldValueFactor -> FieldValueFactor -> Bool # | |
Show FieldValueFactor Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> FieldValueFactor -> ShowS # show :: FieldValueFactor -> String # showList :: [FieldValueFactor] -> ShowS # | |
ToJSON FieldValueFactor Source # | |
Defined in Database.Bloodhound.Common.Script toJSON :: FieldValueFactor -> Value # toEncoding :: FieldValueFactor -> Encoding # toJSONList :: [FieldValueFactor] -> Value # toEncodingList :: [FieldValueFactor] -> Encoding # | |
FromJSON FieldValueFactor Source # | |
Defined in Database.Bloodhound.Common.Script parseJSON :: Value -> Parser FieldValueFactor # parseJSONList :: Value -> Parser [FieldValueFactor] # |
data FactorModifier Source #
FactorModifierNone | |
FactorModifierLog | |
FactorModifierLog1p | |
FactorModifierLog2p | |
FactorModifierLn | |
FactorModifierLn1p | |
FactorModifierLn2p | |
FactorModifierSquare | |
FactorModifierSqrt | |
FactorModifierReciprocal |
Instances
Eq FactorModifier Source # | |
Defined in Database.Bloodhound.Common.Script (==) :: FactorModifier -> FactorModifier -> Bool # (/=) :: FactorModifier -> FactorModifier -> Bool # | |
Show FactorModifier Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> FactorModifier -> ShowS # show :: FactorModifier -> String # showList :: [FactorModifier] -> ShowS # | |
ToJSON FactorModifier Source # | |
Defined in Database.Bloodhound.Common.Script toJSON :: FactorModifier -> Value # toEncoding :: FactorModifier -> Encoding # toJSONList :: [FactorModifier] -> Value # toEncodingList :: [FactorModifier] -> Encoding # | |
FromJSON FactorModifier Source # | |
Defined in Database.Bloodhound.Common.Script parseJSON :: Value -> Parser FactorModifier # parseJSONList :: Value -> Parser [FactorModifier] # |
newtype FactorMissingFieldValue Source #
Instances
Eq FactorMissingFieldValue Source # | |
Defined in Database.Bloodhound.Common.Script | |
Show FactorMissingFieldValue Source # | |
Defined in Database.Bloodhound.Common.Script showsPrec :: Int -> FactorMissingFieldValue -> ShowS # show :: FactorMissingFieldValue -> String # showList :: [FactorMissingFieldValue] -> ShowS # | |
ToJSON FactorMissingFieldValue Source # | |
Defined in Database.Bloodhound.Common.Script | |
FromJSON FactorMissingFieldValue Source # | |
Defined in Database.Bloodhound.Common.Script |
module Data.Aeson.KeyMap
Fuzziness value as a number or AUTO
.
See:
https://www.elastic.co/guide/en/elasticsearch/reference/current/common-options.html#fuzziness
data FunctionScoreFunctions Source #
FunctionScoreSingle FunctionScoreFunction | |
FunctionScoreMultiple (NonEmpty ComponentFunctionScoreFunction) |
Instances
Eq FunctionScoreFunctions Source # | |
Defined in Database.Bloodhound.Internal.Query | |
Show FunctionScoreFunctions Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FunctionScoreFunctions -> ShowS # show :: FunctionScoreFunctions -> String # showList :: [FunctionScoreFunctions] -> ShowS # |
data FunctionScoreQuery Source #
Instances
Eq FunctionScoreQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: FunctionScoreQuery -> FunctionScoreQuery -> Bool # (/=) :: FunctionScoreQuery -> FunctionScoreQuery -> Bool # | |
Show FunctionScoreQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FunctionScoreQuery -> ShowS # show :: FunctionScoreQuery -> String # showList :: [FunctionScoreQuery] -> ShowS # | |
ToJSON FunctionScoreQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: FunctionScoreQuery -> Value # toEncoding :: FunctionScoreQuery -> Encoding # toJSONList :: [FunctionScoreQuery] -> Value # toEncodingList :: [FunctionScoreQuery] -> Encoding # | |
FromJSON FunctionScoreQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser FunctionScoreQuery # parseJSONList :: Value -> Parser [FunctionScoreQuery] # |
data BooleanOperator Source #
BooleanOperator
is the usual And/Or operators with an ES compatible
JSON encoding baked in. Used all over the place.
Instances
Eq BooleanOperator Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: BooleanOperator -> BooleanOperator -> Bool # (/=) :: BooleanOperator -> BooleanOperator -> Bool # | |
Show BooleanOperator Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> BooleanOperator -> ShowS # show :: BooleanOperator -> String # showList :: [BooleanOperator] -> ShowS # | |
ToJSON BooleanOperator Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: BooleanOperator -> Value # toEncoding :: BooleanOperator -> Encoding # toJSONList :: [BooleanOperator] -> Value # toEncodingList :: [BooleanOperator] -> Encoding # | |
FromJSON BooleanOperator Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser BooleanOperator # parseJSONList :: Value -> Parser [BooleanOperator] # |
newtype TemplateQueryKeyValuePairs Source #
Instances
type TemplateQueryValue = Text Source #
data DistanceRange Source #
Instances
Eq DistanceRange Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: DistanceRange -> DistanceRange -> Bool # (/=) :: DistanceRange -> DistanceRange -> Bool # | |
Show DistanceRange Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> DistanceRange -> ShowS # show :: DistanceRange -> String # showList :: [DistanceRange] -> ShowS # |
data OptimizeBbox Source #
Instances
Eq OptimizeBbox Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: OptimizeBbox -> OptimizeBbox -> Bool # (/=) :: OptimizeBbox -> OptimizeBbox -> Bool # | |
Show OptimizeBbox Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> OptimizeBbox -> ShowS # show :: OptimizeBbox -> String # showList :: [OptimizeBbox] -> ShowS # | |
ToJSON OptimizeBbox Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: OptimizeBbox -> Value # toEncoding :: OptimizeBbox -> Encoding # toJSONList :: [OptimizeBbox] -> Value # toEncodingList :: [OptimizeBbox] -> Encoding # | |
FromJSON OptimizeBbox Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser OptimizeBbox # parseJSONList :: Value -> Parser [OptimizeBbox] # |
data DistanceType Source #
Instances
Eq DistanceType Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: DistanceType -> DistanceType -> Bool # (/=) :: DistanceType -> DistanceType -> Bool # | |
Show DistanceType Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> DistanceType -> ShowS # show :: DistanceType -> String # showList :: [DistanceType] -> ShowS # | |
ToJSON DistanceType Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: DistanceType -> Value # toEncoding :: DistanceType -> Encoding # toJSONList :: [DistanceType] -> Value # toEncodingList :: [DistanceType] -> Encoding # | |
FromJSON DistanceType Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser DistanceType # parseJSONList :: Value -> Parser [DistanceType] # |
data DistanceUnit Source #
Instances
Eq DistanceUnit Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: DistanceUnit -> DistanceUnit -> Bool # (/=) :: DistanceUnit -> DistanceUnit -> Bool # | |
Show DistanceUnit Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> DistanceUnit -> ShowS # show :: DistanceUnit -> String # showList :: [DistanceUnit] -> ShowS # | |
ToJSON DistanceUnit Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: DistanceUnit -> Value # toEncoding :: DistanceUnit -> Encoding # toJSONList :: [DistanceUnit] -> Value # toEncodingList :: [DistanceUnit] -> Encoding # | |
FromJSON DistanceUnit Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser DistanceUnit # parseJSONList :: Value -> Parser [DistanceUnit] # |
data GeoBoundingBoxConstraint Source #
Instances
data GeoBoundingBox Source #
Instances
Eq GeoBoundingBox Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GeoBoundingBox -> GeoBoundingBox -> Bool # (/=) :: GeoBoundingBox -> GeoBoundingBox -> Bool # | |
Show GeoBoundingBox Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GeoBoundingBox -> ShowS # show :: GeoBoundingBox -> String # showList :: [GeoBoundingBox] -> ShowS # | |
ToJSON GeoBoundingBox Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: GeoBoundingBox -> Value # toEncoding :: GeoBoundingBox -> Encoding # toJSONList :: [GeoBoundingBox] -> Value # toEncodingList :: [GeoBoundingBox] -> Encoding # | |
FromJSON GeoBoundingBox Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser GeoBoundingBox # parseJSONList :: Value -> Parser [GeoBoundingBox] # |
data GeoFilterType Source #
Instances
Eq GeoFilterType Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GeoFilterType -> GeoFilterType -> Bool # (/=) :: GeoFilterType -> GeoFilterType -> Bool # | |
Show GeoFilterType Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GeoFilterType -> ShowS # show :: GeoFilterType -> String # showList :: [GeoFilterType] -> ShowS # | |
ToJSON GeoFilterType Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: GeoFilterType -> Value # toEncoding :: GeoFilterType -> Encoding # toJSONList :: [GeoFilterType] -> Value # toEncodingList :: [GeoFilterType] -> Encoding # | |
FromJSON GeoFilterType Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser GeoFilterType # parseJSONList :: Value -> Parser [GeoFilterType] # |
data RangeValue Source #
Instances
Eq RangeValue Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RangeValue -> RangeValue -> Bool # (/=) :: RangeValue -> RangeValue -> Bool # | |
Show RangeValue Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RangeValue -> ShowS # show :: RangeValue -> String # showList :: [RangeValue] -> ShowS # | |
FromJSON RangeValue Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RangeValue # parseJSONList :: Value -> Parser [RangeValue] # |
newtype GreaterThanEqD Source #
Instances
Eq GreaterThanEqD Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GreaterThanEqD -> GreaterThanEqD -> Bool # (/=) :: GreaterThanEqD -> GreaterThanEqD -> Bool # | |
Show GreaterThanEqD Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GreaterThanEqD -> ShowS # show :: GreaterThanEqD -> String # showList :: [GreaterThanEqD] -> ShowS # |
newtype GreaterThanD Source #
Instances
Eq GreaterThanD Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GreaterThanD -> GreaterThanD -> Bool # (/=) :: GreaterThanD -> GreaterThanD -> Bool # | |
Show GreaterThanD Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GreaterThanD -> ShowS # show :: GreaterThanD -> String # showList :: [GreaterThanD] -> ShowS # |
newtype LessThanEqD Source #
Instances
Eq LessThanEqD Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: LessThanEqD -> LessThanEqD -> Bool # (/=) :: LessThanEqD -> LessThanEqD -> Bool # | |
Show LessThanEqD Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> LessThanEqD -> ShowS # show :: LessThanEqD -> String # showList :: [LessThanEqD] -> ShowS # |
newtype GreaterThanEq Source #
Instances
Eq GreaterThanEq Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GreaterThanEq -> GreaterThanEq -> Bool # (/=) :: GreaterThanEq -> GreaterThanEq -> Bool # | |
Show GreaterThanEq Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GreaterThanEq -> ShowS # show :: GreaterThanEq -> String # showList :: [GreaterThanEq] -> ShowS # |
newtype GreaterThan Source #
Instances
Eq GreaterThan Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: GreaterThan -> GreaterThan -> Bool # (/=) :: GreaterThan -> GreaterThan -> Bool # | |
Show GreaterThan Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> GreaterThan -> ShowS # show :: GreaterThan -> String # showList :: [GreaterThan] -> ShowS # |
newtype LessThanEq Source #
Instances
Eq LessThanEq Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: LessThanEq -> LessThanEq -> Bool # (/=) :: LessThanEq -> LessThanEq -> Bool # | |
Show LessThanEq Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> LessThanEq -> ShowS # show :: LessThanEq -> String # showList :: [LessThanEq] -> ShowS # |
data RegexpFlag Source #
Instances
Eq RegexpFlag Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RegexpFlag -> RegexpFlag -> Bool # (/=) :: RegexpFlag -> RegexpFlag -> Bool # | |
Show RegexpFlag Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RegexpFlag -> ShowS # show :: RegexpFlag -> String # showList :: [RegexpFlag] -> ShowS # | |
FromJSON RegexpFlag Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RegexpFlag # parseJSONList :: Value -> Parser [RegexpFlag] # |
data RegexpFlags Source #
Instances
Eq RegexpFlags Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RegexpFlags -> RegexpFlags -> Bool # (/=) :: RegexpFlags -> RegexpFlags -> Bool # | |
Show RegexpFlags Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RegexpFlags -> ShowS # show :: RegexpFlags -> String # showList :: [RegexpFlags] -> ShowS # | |
ToJSON RegexpFlags Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: RegexpFlags -> Value # toEncoding :: RegexpFlags -> Encoding # toJSONList :: [RegexpFlags] -> Value # toEncodingList :: [RegexpFlags] -> Encoding # | |
FromJSON RegexpFlags Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RegexpFlags # parseJSONList :: Value -> Parser [RegexpFlags] # |
data RangeExecution Source #
Instances
Eq RangeExecution Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RangeExecution -> RangeExecution -> Bool # (/=) :: RangeExecution -> RangeExecution -> Bool # | |
Show RangeExecution Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RangeExecution -> ShowS # show :: RangeExecution -> String # showList :: [RangeExecution] -> ShowS # | |
ToJSON RangeExecution Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: RangeExecution -> Value # toEncoding :: RangeExecution -> Encoding # toJSONList :: [RangeExecution] -> Value # toEncodingList :: [RangeExecution] -> Encoding # | |
FromJSON RangeExecution Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RangeExecution # parseJSONList :: Value -> Parser [RangeExecution] # |
data ZeroTermsQuery Source #
Instances
Eq ZeroTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: ZeroTermsQuery -> ZeroTermsQuery -> Bool # (/=) :: ZeroTermsQuery -> ZeroTermsQuery -> Bool # | |
Show ZeroTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> ZeroTermsQuery -> ShowS # show :: ZeroTermsQuery -> String # showList :: [ZeroTermsQuery] -> ShowS # | |
ToJSON ZeroTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: ZeroTermsQuery -> Value # toEncoding :: ZeroTermsQuery -> Encoding # toJSONList :: [ZeroTermsQuery] -> Value # toEncodingList :: [ZeroTermsQuery] -> Encoding # | |
FromJSON ZeroTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser ZeroTermsQuery # parseJSONList :: Value -> Parser [ZeroTermsQuery] # |
data MinimumMatchHighLow Source #
Instances
Eq MinimumMatchHighLow Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MinimumMatchHighLow -> MinimumMatchHighLow -> Bool # (/=) :: MinimumMatchHighLow -> MinimumMatchHighLow -> Bool # | |
Show MinimumMatchHighLow Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MinimumMatchHighLow -> ShowS # show :: MinimumMatchHighLow -> String # showList :: [MinimumMatchHighLow] -> ShowS # |
data CommonMinimumMatch Source #
Instances
Eq CommonMinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: CommonMinimumMatch -> CommonMinimumMatch -> Bool # (/=) :: CommonMinimumMatch -> CommonMinimumMatch -> Bool # | |
Show CommonMinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> CommonMinimumMatch -> ShowS # show :: CommonMinimumMatch -> String # showList :: [CommonMinimumMatch] -> ShowS # | |
ToJSON CommonMinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: CommonMinimumMatch -> Value # toEncoding :: CommonMinimumMatch -> Encoding # toJSONList :: [CommonMinimumMatch] -> Value # toEncodingList :: [CommonMinimumMatch] -> Encoding # | |
FromJSON CommonMinimumMatch Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser CommonMinimumMatch # parseJSONList :: Value -> Parser [CommonMinimumMatch] # |
data CommonTermsQuery Source #
Instances
Eq CommonTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: CommonTermsQuery -> CommonTermsQuery -> Bool # (/=) :: CommonTermsQuery -> CommonTermsQuery -> Bool # | |
Show CommonTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> CommonTermsQuery -> ShowS # show :: CommonTermsQuery -> String # showList :: [CommonTermsQuery] -> ShowS # | |
ToJSON CommonTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: CommonTermsQuery -> Value # toEncoding :: CommonTermsQuery -> Encoding # toJSONList :: [CommonTermsQuery] -> Value # toEncodingList :: [CommonTermsQuery] -> Encoding # | |
FromJSON CommonTermsQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser CommonTermsQuery # parseJSONList :: Value -> Parser [CommonTermsQuery] # |
data BoostingQuery Source #
Instances
Eq BoostingQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: BoostingQuery -> BoostingQuery -> Bool # (/=) :: BoostingQuery -> BoostingQuery -> Bool # | |
Show BoostingQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> BoostingQuery -> ShowS # show :: BoostingQuery -> String # showList :: [BoostingQuery] -> ShowS # | |
ToJSON BoostingQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: BoostingQuery -> Value # toEncoding :: BoostingQuery -> Encoding # toJSONList :: [BoostingQuery] -> Value # toEncodingList :: [BoostingQuery] -> Encoding # | |
FromJSON BoostingQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser BoostingQuery # parseJSONList :: Value -> Parser [BoostingQuery] # |
data MultiMatchQueryType Source #
MultiMatchBestFields | |
MultiMatchMostFields | |
MultiMatchCrossFields | |
MultiMatchPhrase | |
MultiMatchPhrasePrefix |
Instances
Eq MultiMatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MultiMatchQueryType -> MultiMatchQueryType -> Bool # (/=) :: MultiMatchQueryType -> MultiMatchQueryType -> Bool # | |
Show MultiMatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MultiMatchQueryType -> ShowS # show :: MultiMatchQueryType -> String # showList :: [MultiMatchQueryType] -> ShowS # | |
ToJSON MultiMatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MultiMatchQueryType -> Value # toEncoding :: MultiMatchQueryType -> Encoding # toJSONList :: [MultiMatchQueryType] -> Value # toEncodingList :: [MultiMatchQueryType] -> Encoding # | |
FromJSON MultiMatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser MultiMatchQueryType # parseJSONList :: Value -> Parser [MultiMatchQueryType] # |
data MultiMatchQuery Source #
Instances
Eq MultiMatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MultiMatchQuery -> MultiMatchQuery -> Bool # (/=) :: MultiMatchQuery -> MultiMatchQuery -> Bool # | |
Show MultiMatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MultiMatchQuery -> ShowS # show :: MultiMatchQuery -> String # showList :: [MultiMatchQuery] -> ShowS # | |
ToJSON MultiMatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MultiMatchQuery -> Value # toEncoding :: MultiMatchQuery -> Encoding # toJSONList :: [MultiMatchQuery] -> Value # toEncodingList :: [MultiMatchQuery] -> Encoding # | |
FromJSON MultiMatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser MultiMatchQuery # parseJSONList :: Value -> Parser [MultiMatchQuery] # |
data MatchQueryType Source #
Instances
Eq MatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MatchQueryType -> MatchQueryType -> Bool # (/=) :: MatchQueryType -> MatchQueryType -> Bool # | |
Show MatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MatchQueryType -> ShowS # show :: MatchQueryType -> String # showList :: [MatchQueryType] -> ShowS # | |
ToJSON MatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MatchQueryType -> Value # toEncoding :: MatchQueryType -> Encoding # toJSONList :: [MatchQueryType] -> Value # toEncodingList :: [MatchQueryType] -> Encoding # | |
FromJSON MatchQueryType Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser MatchQueryType # parseJSONList :: Value -> Parser [MatchQueryType] # |
data MatchQuery Source #
Instances
Eq MatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MatchQuery -> MatchQuery -> Bool # (/=) :: MatchQuery -> MatchQuery -> Bool # | |
Show MatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MatchQuery -> ShowS # show :: MatchQuery -> String # showList :: [MatchQuery] -> ShowS # | |
ToJSON MatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MatchQuery -> Value # toEncoding :: MatchQuery -> Encoding # toJSONList :: [MatchQuery] -> Value # toEncodingList :: [MatchQuery] -> Encoding # | |
FromJSON MatchQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser MatchQuery # parseJSONList :: Value -> Parser [MatchQuery] # |
data DisMaxQuery Source #
Instances
Eq DisMaxQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: DisMaxQuery -> DisMaxQuery -> Bool # (/=) :: DisMaxQuery -> DisMaxQuery -> Bool # | |
Show DisMaxQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> DisMaxQuery -> ShowS # show :: DisMaxQuery -> String # showList :: [DisMaxQuery] -> ShowS # | |
ToJSON DisMaxQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: DisMaxQuery -> Value # toEncoding :: DisMaxQuery -> Encoding # toJSONList :: [DisMaxQuery] -> Value # toEncodingList :: [DisMaxQuery] -> Encoding # | |
FromJSON DisMaxQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser DisMaxQuery # parseJSONList :: Value -> Parser [DisMaxQuery] # |
data FuzzyLikeThisQuery Source #
Instances
Eq FuzzyLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: FuzzyLikeThisQuery -> FuzzyLikeThisQuery -> Bool # (/=) :: FuzzyLikeThisQuery -> FuzzyLikeThisQuery -> Bool # | |
Show FuzzyLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FuzzyLikeThisQuery -> ShowS # show :: FuzzyLikeThisQuery -> String # showList :: [FuzzyLikeThisQuery] -> ShowS # | |
ToJSON FuzzyLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: FuzzyLikeThisQuery -> Value # toEncoding :: FuzzyLikeThisQuery -> Encoding # toJSONList :: [FuzzyLikeThisQuery] -> Value # toEncodingList :: [FuzzyLikeThisQuery] -> Encoding # | |
FromJSON FuzzyLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser FuzzyLikeThisQuery # parseJSONList :: Value -> Parser [FuzzyLikeThisQuery] # |
data FuzzyLikeFieldQuery Source #
Instances
Eq FuzzyLikeFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: FuzzyLikeFieldQuery -> FuzzyLikeFieldQuery -> Bool # (/=) :: FuzzyLikeFieldQuery -> FuzzyLikeFieldQuery -> Bool # | |
Show FuzzyLikeFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FuzzyLikeFieldQuery -> ShowS # show :: FuzzyLikeFieldQuery -> String # showList :: [FuzzyLikeFieldQuery] -> ShowS # | |
ToJSON FuzzyLikeFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: FuzzyLikeFieldQuery -> Value # toEncoding :: FuzzyLikeFieldQuery -> Encoding # toJSONList :: [FuzzyLikeFieldQuery] -> Value # toEncodingList :: [FuzzyLikeFieldQuery] -> Encoding # | |
FromJSON FuzzyLikeFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser FuzzyLikeFieldQuery # parseJSONList :: Value -> Parser [FuzzyLikeFieldQuery] # |
data FuzzyQuery Source #
Instances
Eq FuzzyQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: FuzzyQuery -> FuzzyQuery -> Bool # (/=) :: FuzzyQuery -> FuzzyQuery -> Bool # | |
Show FuzzyQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FuzzyQuery -> ShowS # show :: FuzzyQuery -> String # showList :: [FuzzyQuery] -> ShowS # | |
ToJSON FuzzyQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: FuzzyQuery -> Value # toEncoding :: FuzzyQuery -> Encoding # toJSONList :: [FuzzyQuery] -> Value # toEncodingList :: [FuzzyQuery] -> Encoding # | |
FromJSON FuzzyQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser FuzzyQuery # parseJSONList :: Value -> Parser [FuzzyQuery] # |
data HasChildQuery Source #
Instances
Eq HasChildQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: HasChildQuery -> HasChildQuery -> Bool # (/=) :: HasChildQuery -> HasChildQuery -> Bool # | |
Show HasChildQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> HasChildQuery -> ShowS # show :: HasChildQuery -> String # showList :: [HasChildQuery] -> ShowS # | |
ToJSON HasChildQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: HasChildQuery -> Value # toEncoding :: HasChildQuery -> Encoding # toJSONList :: [HasChildQuery] -> Value # toEncodingList :: [HasChildQuery] -> Encoding # | |
FromJSON HasChildQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser HasChildQuery # parseJSONList :: Value -> Parser [HasChildQuery] # |
data HasParentQuery Source #
Instances
Eq HasParentQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: HasParentQuery -> HasParentQuery -> Bool # (/=) :: HasParentQuery -> HasParentQuery -> Bool # | |
Show HasParentQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> HasParentQuery -> ShowS # show :: HasParentQuery -> String # showList :: [HasParentQuery] -> ShowS # | |
ToJSON HasParentQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: HasParentQuery -> Value # toEncoding :: HasParentQuery -> Encoding # toJSONList :: [HasParentQuery] -> Value # toEncodingList :: [HasParentQuery] -> Encoding # | |
FromJSON HasParentQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser HasParentQuery # parseJSONList :: Value -> Parser [HasParentQuery] # |
data IndicesQuery Source #
Instances
Eq IndicesQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: IndicesQuery -> IndicesQuery -> Bool # (/=) :: IndicesQuery -> IndicesQuery -> Bool # | |
Show IndicesQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> IndicesQuery -> ShowS # show :: IndicesQuery -> String # showList :: [IndicesQuery] -> ShowS # | |
ToJSON IndicesQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: IndicesQuery -> Value # toEncoding :: IndicesQuery -> Encoding # toJSONList :: [IndicesQuery] -> Value # toEncodingList :: [IndicesQuery] -> Encoding # | |
FromJSON IndicesQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser IndicesQuery # parseJSONList :: Value -> Parser [IndicesQuery] # |
data MoreLikeThisQuery Source #
Instances
Eq MoreLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: MoreLikeThisQuery -> MoreLikeThisQuery -> Bool # (/=) :: MoreLikeThisQuery -> MoreLikeThisQuery -> Bool # | |
Show MoreLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MoreLikeThisQuery -> ShowS # show :: MoreLikeThisQuery -> String # showList :: [MoreLikeThisQuery] -> ShowS # | |
ToJSON MoreLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MoreLikeThisQuery -> Value # toEncoding :: MoreLikeThisQuery -> Encoding # toJSONList :: [MoreLikeThisQuery] -> Value # toEncodingList :: [MoreLikeThisQuery] -> Encoding # | |
FromJSON MoreLikeThisQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser MoreLikeThisQuery # parseJSONList :: Value -> Parser [MoreLikeThisQuery] # |
data MoreLikeThisFieldQuery Source #
Instances
Eq MoreLikeThisFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query | |
Show MoreLikeThisFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> MoreLikeThisFieldQuery -> ShowS # show :: MoreLikeThisFieldQuery -> String # showList :: [MoreLikeThisFieldQuery] -> ShowS # | |
ToJSON MoreLikeThisFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: MoreLikeThisFieldQuery -> Value # toEncoding :: MoreLikeThisFieldQuery -> Encoding # toJSONList :: [MoreLikeThisFieldQuery] -> Value # | |
FromJSON MoreLikeThisFieldQuery Source # | |
Defined in Database.Bloodhound.Internal.Query |
data NestedQuery Source #
Instances
Eq NestedQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: NestedQuery -> NestedQuery -> Bool # (/=) :: NestedQuery -> NestedQuery -> Bool # | |
Show NestedQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> NestedQuery -> ShowS # show :: NestedQuery -> String # showList :: [NestedQuery] -> ShowS # | |
ToJSON NestedQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: NestedQuery -> Value # toEncoding :: NestedQuery -> Encoding # toJSONList :: [NestedQuery] -> Value # toEncodingList :: [NestedQuery] -> Encoding # | |
FromJSON NestedQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser NestedQuery # parseJSONList :: Value -> Parser [NestedQuery] # |
data PrefixQuery Source #
Instances
Eq PrefixQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: PrefixQuery -> PrefixQuery -> Bool # (/=) :: PrefixQuery -> PrefixQuery -> Bool # | |
Show PrefixQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> PrefixQuery -> ShowS # show :: PrefixQuery -> String # showList :: [PrefixQuery] -> ShowS # | |
ToJSON PrefixQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: PrefixQuery -> Value # toEncoding :: PrefixQuery -> Encoding # toJSONList :: [PrefixQuery] -> Value # toEncodingList :: [PrefixQuery] -> Encoding # | |
FromJSON PrefixQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser PrefixQuery # parseJSONList :: Value -> Parser [PrefixQuery] # |
data FieldOrFields Source #
Instances
Eq FieldOrFields Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: FieldOrFields -> FieldOrFields -> Bool # (/=) :: FieldOrFields -> FieldOrFields -> Bool # | |
Show FieldOrFields Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> FieldOrFields -> ShowS # show :: FieldOrFields -> String # showList :: [FieldOrFields] -> ShowS # | |
ToJSON FieldOrFields Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: FieldOrFields -> Value # toEncoding :: FieldOrFields -> Encoding # toJSONList :: [FieldOrFields] -> Value # toEncodingList :: [FieldOrFields] -> Encoding # | |
FromJSON FieldOrFields Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser FieldOrFields # parseJSONList :: Value -> Parser [FieldOrFields] # |
data QueryStringQuery Source #
Instances
Eq QueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: QueryStringQuery -> QueryStringQuery -> Bool # (/=) :: QueryStringQuery -> QueryStringQuery -> Bool # | |
Show QueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> QueryStringQuery -> ShowS # show :: QueryStringQuery -> String # showList :: [QueryStringQuery] -> ShowS # | |
ToJSON QueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: QueryStringQuery -> Value # toEncoding :: QueryStringQuery -> Encoding # toJSONList :: [QueryStringQuery] -> Value # toEncodingList :: [QueryStringQuery] -> Encoding # | |
FromJSON QueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser QueryStringQuery # parseJSONList :: Value -> Parser [QueryStringQuery] # |
data SimpleQueryFlag Source #
Instances
Eq SimpleQueryFlag Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: SimpleQueryFlag -> SimpleQueryFlag -> Bool # (/=) :: SimpleQueryFlag -> SimpleQueryFlag -> Bool # | |
Show SimpleQueryFlag Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> SimpleQueryFlag -> ShowS # show :: SimpleQueryFlag -> String # showList :: [SimpleQueryFlag] -> ShowS # | |
ToJSON SimpleQueryFlag Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: SimpleQueryFlag -> Value # toEncoding :: SimpleQueryFlag -> Encoding # toJSONList :: [SimpleQueryFlag] -> Value # toEncodingList :: [SimpleQueryFlag] -> Encoding # | |
FromJSON SimpleQueryFlag Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser SimpleQueryFlag # parseJSONList :: Value -> Parser [SimpleQueryFlag] # |
data SimpleQueryStringQuery Source #
Instances
Eq SimpleQueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query | |
Show SimpleQueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> SimpleQueryStringQuery -> ShowS # show :: SimpleQueryStringQuery -> String # showList :: [SimpleQueryStringQuery] -> ShowS # | |
ToJSON SimpleQueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: SimpleQueryStringQuery -> Value # toEncoding :: SimpleQueryStringQuery -> Encoding # toJSONList :: [SimpleQueryStringQuery] -> Value # | |
FromJSON SimpleQueryStringQuery Source # | |
Defined in Database.Bloodhound.Internal.Query |
data RangeQuery Source #
Instances
Eq RangeQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RangeQuery -> RangeQuery -> Bool # (/=) :: RangeQuery -> RangeQuery -> Bool # | |
Show RangeQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RangeQuery -> ShowS # show :: RangeQuery -> String # showList :: [RangeQuery] -> ShowS # | |
ToJSON RangeQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: RangeQuery -> Value # toEncoding :: RangeQuery -> Encoding # toJSONList :: [RangeQuery] -> Value # toEncodingList :: [RangeQuery] -> Encoding # | |
FromJSON RangeQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RangeQuery # parseJSONList :: Value -> Parser [RangeQuery] # |
data WildcardQuery Source #
Instances
Eq WildcardQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: WildcardQuery -> WildcardQuery -> Bool # (/=) :: WildcardQuery -> WildcardQuery -> Bool # | |
Show WildcardQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> WildcardQuery -> ShowS # show :: WildcardQuery -> String # showList :: [WildcardQuery] -> ShowS # | |
ToJSON WildcardQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: WildcardQuery -> Value # toEncoding :: WildcardQuery -> Encoding # toJSONList :: [WildcardQuery] -> Value # toEncodingList :: [WildcardQuery] -> Encoding # | |
FromJSON WildcardQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser WildcardQuery # parseJSONList :: Value -> Parser [WildcardQuery] # |
data RegexpQuery Source #
Instances
Eq RegexpQuery Source # | |
Defined in Database.Bloodhound.Internal.Query (==) :: RegexpQuery -> RegexpQuery -> Bool # (/=) :: RegexpQuery -> RegexpQuery -> Bool # | |
Show RegexpQuery Source # | |
Defined in Database.Bloodhound.Internal.Query showsPrec :: Int -> RegexpQuery -> ShowS # show :: RegexpQuery -> String # showList :: [RegexpQuery] -> ShowS # | |
ToJSON RegexpQuery Source # | |
Defined in Database.Bloodhound.Internal.Query toJSON :: RegexpQuery -> Value # toEncoding :: RegexpQuery -> Encoding # toJSONList :: [RegexpQuery] -> Value # toEncodingList :: [RegexpQuery] -> Encoding # | |
FromJSON RegexpQuery Source # | |
Defined in Database.Bloodhound.Internal.Query parseJSON :: Value -> Parser RegexpQuery # parseJSONList :: Value -> Parser [RegexpQuery] # |
As of Elastic 2.0, Filters
are just Queries
housed in a
Bool Query, and flagged in a different context.
mkRangeQuery :: FieldName -> RangeValue -> RangeQuery 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 FieldName
s and QueryString
to
make a MultiMatchQuery
.
parseRangeValue :: (FromJSON t4, FromJSON t3, FromJSON t2, FromJSON t1) => (t3 -> t5) -> (t1 -> t6) -> (t4 -> t7) -> (t2 -> t8) -> (t5 -> t6 -> b) -> (t7 -> t6 -> b) -> (t5 -> t8 -> b) -> (t7 -> t8 -> b) -> (t5 -> b) -> (t6 -> b) -> (t7 -> b) -> (t8 -> b) -> Parser b -> Object -> Parser b Source #
rangeValueToPair :: RangeValue -> [Pair] Source #
defaultCache :: Cache Source #