title: Create Elasticsearch curl query for not null and not empty("")
body: <p>How can i create Elasticsearch curl query to get the field value which are not null and not empty(""),</p>
  
  <p>Here is the mysql query:</p>
  
  <pre><code>select field1 from mytable where field1!=null and field1!="";
  </code></pre>