What you are missing is a final
server.optimize();
Deleting a document will only mark it as deleted in the index until an
optimize. If disk space is a real problem in your case because you e.g. update
all docs in the index frequently, you can trigger an optimize(), say nightly.
--
Jan Høydahl,
Hello.
I am deliting old data from solr such way.
String url = "http://192.168.5.138:8080/apache-solr-1.4.0/";;
CommonsHttpSolrServer server = new
CommonsHttpSolrServer(url);
server.setDefaultMaxConnectionsPerHost(200);
server.setAllo