title: How to use RElasticSearch package to execute a query that runs on ElasticSearch head?
body: <p>I am working on RElasticSearch package. I ran a GET query in ElasticSearch-head on my index which looks like this:</p>
  
  <pre><code>{
    "query": {
       "term": {
        "id": "0a88d2dd43fe985501440bbd6610768f"
      }
    }
  }
  </code></pre>
  
  <p>This ran successfully. I want to know how to specify this query in searchES method of RElasticSearch package. I tried finding answers but there is no proper documentation anywhere. Can anyone please help me out?? Thanks in advance.</p>