title: How to test elasticsearch for a flat file using curl?
body: <p>I have installed elasticsearch &amp; curl successfully and is working fine, means    </p>
  
  <pre><code>http://[localhost]:9200 &amp; curl -XGET [localhost]:9200'`  results in 
  
  {
    "status" : 200,
    "name" : "Bereet",
    "version" : {
      "number" : "1.0.1",
      "build_hash" : "5c03844e1978e5cc924dab2a423dc63ce881c42b",
      "build_timestamp" : "2014-02-25T15:52:53Z",
      "build_snapshot" : false,
      "lucene_version" : "4.6"
    },
    "tagline" : "You Know, for Search"
  }
  </code></pre>
  
  <p>Now i want to run the search for a file called x.java, i have set path.logs: [fully qualified path for x.java]</p>
  
  <p>What else i need to do, to start searching something using elasticsearch? I have installed JSON plug-in in Mozilla.</p>
  
  <p>Could anyone please help me understand how to run the elasticsearch against my specified file? Thanks in Advance</p>