@@ -910,7 +910,7 @@ defaultCache = False
910910
911911{-| 'PrefixValue' is used in 'PrefixQuery' as the main query component.
912912-}
913−type PrefixValue = Text
913+-- type PrefixValue = Text
914914
915915{-| 'BooleanOperator' is the usual And/Or operators with an ES compatible
916916 JSON encoding baked in. Used all over the place.
@@ -2283,7 +2283,7 @@ instance FromJSON Query where
22832283 queryRangeQuery = pure . QueryRangeQuery
22842284 queryRegexpQuery = pure . QueryRegexpQuery
22852285 querySimpleQueryStringQuery = pure . QuerySimpleQueryStringQuery
2286− queryExistsQuery o = QueryExistsQuery <$> o .: "field"
2286+ -- queryExistsQuery o = QueryExistsQuery <$> o .: "field"
22872287
22882288
22892289omitNulls :: [(Text, Value)] -> Value
@@ -2751,10 +2751,10 @@ instance FromJSON BoostingQuery where
27512751 <*> o .: "negative_boost"
27522752
27532753instance ToJSON BoolQuery where
2754− toJSON (BoolQuery mustM filterM notM shouldM bqMin boost disableCoord) =
2754+ toJSON (BoolQuery mustM filterM' notM shouldM bqMin boost disableCoord) =
27552755 omitNulls base
27562756 where base = [ "must" .= mustM
2757− , "filter" .= filterM
2757+ , "filter" .= filterM'
27582758 , "must_not" .= notM
27592759 , "should" .= shouldM
27602760 , "minimum_should_match" .= bqMin