@@ -922,7 +922,7 @@ defaultCache = False
922922
923923{-| 'PrefixValue' is used in 'PrefixQuery' as the main query component.
924924-}
925−type PrefixValue = Text
925+-- type PrefixValue = Text
926926
927927{-| 'BooleanOperator' is the usual And/Or operators with an ES compatible
928928 JSON encoding baked in. Used all over the place.
@@ -2338,7 +2338,7 @@ instance FromJSON Query where
23382338 queryRangeQuery = pure . QueryRangeQuery
23392339 queryRegexpQuery = pure . QueryRegexpQuery
23402340 querySimpleQueryStringQuery = pure . QuerySimpleQueryStringQuery
2341− queryExistsQuery o = QueryExistsQuery <$> o .: "field"
2341+ -- queryExistsQuery o = QueryExistsQuery <$> o .: "field"
23422342 queryTemplateQueryInline = pure . QueryTemplateQueryInline
23432343
23442344
@@ -2807,10 +2807,10 @@ instance FromJSON BoostingQuery where
28072807 <*> o .: "negative_boost"
28082808
28092809instance ToJSON BoolQuery where
2810− toJSON (BoolQuery mustM filterM notM shouldM bqMin boost disableCoord) =
2810+ toJSON (BoolQuery mustM filterM' notM shouldM bqMin boost disableCoord) =
28112811 omitNulls base
28122812 where base = [ "must" .= mustM
2813− , "filter" .= filterM
2813+ , "filter" .= filterM'
28142814 , "must_not" .= notM
28152815 , "should" .= shouldM
28162816 , "minimum_should_match" .= bqMin