diff --git a/src/ElasticDSL/Query/Compound/Bool.js b/src/ElasticDSL/Query/Compound/Bool.js index eb7c444..72eba4b 100644 --- a/src/ElasticDSL/Query/Compound/Bool.js +++ b/src/ElasticDSL/Query/Compound/Bool.js @@ -47,10 +47,9 @@ export function getBoolITC(opts: mixed = {}): InputTypeComposer { `), }, minimum_should_match: { - type: 'Int', + type: 'String', description: desc(` - The minimum number of should clauses to match can be set using - the minimum_should_match parameter. + The minimum number of should clauses to match. `), }, must_not: { diff --git a/src/ElasticDSL/Query/__snapshots__/Query.test.js.snap b/src/ElasticDSL/Query/__snapshots__/Query.test.js.snap index 464c77b..0ce2736 100644 --- a/src/ElasticDSL/Query/__snapshots__/Query.test.js.snap +++ b/src/ElasticDSL/Query/__snapshots__/Query.test.js.snap @@ -111,8 +111,8 @@ input Elastic_QueryBool_50 { # minimum_should_match parameter. should: Elastic_Query_50 - # The minimum number of should clauses to match can be set using the minimum_should_match parameter. - minimum_should_match: Int + # The minimum number of should clauses to match. + minimum_should_match: String # The clause (query) must not appear in the matching documents. Clauses are # executed in filter context meaning that scoring is ignored and clauses are