Re: Problems of deleting documents from Solr

2011-05-01 Thread Ahmet Arslan
Hi Jeff, You canĀ  delete either by unique id or by a query. It seems that you want to delete all documents having category of monitor. cat:monitor http://wiki.apache.org/solr/UpdateXmlMessages#A.22delete.22_by_ID_and_by_Query - Original Message - From: Jeff Zhang To: solr-user@lucene.

Re: Problems of deleting documents from Solr

2011-05-01 Thread Otis Gospodnetic
Hi Jeff, If you run the optimize command after deletion, all documents marked as deleted will be expunged from the index. Keep in mind that another way to update a document is to just re-add it with the new values. If you use uniqueKey (defined in schema.xml), Solr will make sure there are n