title: Simple match query to C# Nest
body: <p>I new to Elasticsearch I have cURL</p>
  <pre><code>GET /index/type/_search
  {
      &quot;query&quot;: {
          &quot;match&quot;: {
              &quot;TextID&quot;: &quot;WT&quot;
          }
      }
  }
  </code></pre>
  <p>I want to convert it to <code>lambda</code> expression in <code>C#</code> . I managed to build some code but it is throwing runtime exception.</p>
  <pre><code>var searchQID = client.Search&lt;string&gt;(sd =&gt; sd
                       .Index(&quot;index&quot;)
                       .Type(&quot;type&quot;)
                       .Size(10000)
                       .Query(q =&gt; q
                          .Match(m =&gt; m.OnField(&quot;TextID&quot;).Query(&quot;WT&quot;)
                          )));
  </code></pre>
  <p>Please help.</p>