title: MinimumShouldMatch not appending to "Should" clause in a Bool query built using object initializer syntax in Nest ElasticSearch
body: <p>I am using the NEST object initializer syntax to build my queries dynamically given user input. The query format I am using is like this:</p>
  
  <pre><code>"query": {
          "bool": {
              "should": [{
                  "range": {
                      "field1": {
                          "lt": x
                      }
                  }
              }, {
                  "range": {
                      "field2": {
                          "lt": y
                      }
                  }
              }],
              "filter": [{
                  ...
              }]
          }
      }
  </code></pre>
  
  <p>The above query doesn't work because the should is overridden by the filter unless the should clause has a "minimum_should_match" field attached to it, like so: </p>
  
  <pre><code>"query": {
          "bool": {
              "should": [{
                  "range": {
                      "field1": {
                          "lt": x
                      }
                  }
              }, {
                  "range": {
                      "field2": {
                          "lt": y
                      }
                  }
              }],
              "minimum_should_match" = "1",
              "filter": [{
                  ...
              }]
          }
      }
  </code></pre>
  
  <p>However, I can't seem to find a way to position the minimum_should_match clause correctly so that it sits in between the should and filter. The BoolQuery accepts a "MinimumShouldMatch" field, but that appends it after the filter and not before the should. </p>
  
  <p>Is there a way to do this or I am going to have to use raw search input?</p>