On Aug 21, 2007, at 9:25 PM, Lance Norskog wrote:

Recently someone mentioned that it would be possible to have a 'replace existing document' feature rather than just dropping and adding documents
with the same unique id.

There is such a patch: https://issues.apache.org/jira/browse/SOLR-139

I'm experimenting with it right now and it works well for my cases.

However, it is still under the covers a delete/add and....

One use case is that we would like to use the index as our one database for documents, and if we delete a document we want it to stay deleted. Thus we would mark it deleted and check for its existence. Another use case is that we are re-adding the same document a few times a day, and the commit times
are ballooning.

...you still have to commit for changes to be visible.

        Erik

Reply via email to