title: Elasticsearch JSON query based on URL query
body: <p>Could someone tell me how to write in JSON query which will correspond to cURL query : <code>/indice/type/_search?q=hardskill:1AND21ANDsoftskill:5</code></p>
  
  <p>I want find docs which have hardskill [1,21], softskill [5].</p>
  
  <p>Config looks like </p>
  
  <pre><code>type =&gt; [hardskill : [1,2,3,4..], softskill[1,2,3,5..]]
  </code></pre>
  
  <p>Pseudo code :</p>
  
  <pre><code>"query" =&gt; [
     "hardskill" : [1,21],
     "softskill:  [5]
  ]
  </code></pre>