well, yes indeed :) but i do think it is easier to put up synchronisation for deleted documents as well clearing the whole index is kind of overkill
when you do this : * delete all documents * submit all documents * commit you should also keep in mind that Solr will do an autocommit after a certain number of documents ... so if the process takes a couple of minutes/hours, you might end up with an empty index and no results for the users ! cheers, m Walter Underwood <[EMAIL PROTECTED]> 21/03/2007 17:32 Please respond to solr-user@lucene.apache.org To <solr-user@lucene.apache.org> cc Subject Re: How to assure a permanent index. On 3/21/07 1:33 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > note that you dont have to delete all documents .... you can just upload > new documents with the same UniqueID and Solr will delete the old > documents automaticly ... this way you are guaranteed not to have an empty > index That works if you keep track of all documents that have disappeared since the last index run. Otherwise, you end up with orphans in the search index, documents that exist in search, but not in the real world, also known as "serving 404's in results". wunder -- Walter Underwood Search Guru, Netflix