As Tanguy says, simply re-adding a document with the same <uniqueKey> will automatically delete/readd the doc.
But I wanted to add a caution about your phrase "read-delete-modify-create" You only get back what you #stored#. So generally the update is done from the original source rather than the index. So it's simple if <uniqueKey> is there, just add the doc. Best Erick On Thu, Dec 16, 2010 at 4:14 AM, Dennis Gearon <gear...@sbcglobal.net>wrote: > First of all, it's a very nice piece of work. > > I am just getting my feet wet with Solr in general. So I 'am not even sure > how a > document is NORMALLY deleted. > > The library PHPDocs say 'add', 'get' 'delete', But does anyone know about > 'update'? > (obviously one can read-delete-modify-create) > > Dennis Gearon > > > Signature Warning > ---------------- > It is always a good idea to learn from your own mistakes. It is usually a > better > idea to learn from others’ mistakes, so you do not have to make them > yourself. > from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036' > > > EARTH has a Right To Life, > otherwise we all die. > >