Re: Deleting old index data from solr. But HDD spaces doesn`t free.

2010-08-06 Thread Jan Høydahl / Cominvent
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,

Deleting old index data from solr. But HDD spaces doesn`t free.

2010-08-06 Thread Vitaliy Avdeev
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