title: Deleting index from Solr using solrj as a client
body: <p>I am using solrj as client for indexing documents on the solr server.</p>
  
  <p>I am having problem while deleting the indexes by 'id' from the solr server.
  I am using following code to delete the indexes:</p>
  
  <pre><code>server.deleteById("id:20");
  server.commit(true,true);
  </code></pre>
  
  <p>After this when i again search for the documents, the search result contains the above document also. Dont know what is going wrong with this code.
  Please help me out with issue.</p>
  
  <p>Thanks!</p>