No, Lucene doesn't support just updating a field in a document. You must delete/re-add it as you suppose.
And you are correct, the UpdateDocument feature just conceals the underlying delete/add functionality, it's not update-in-place. Best Erick On 7/9/07, Sonu SR <[EMAIL PROTECTED]> wrote:
Hi, My application using lucene index. The index documents having number of fields. We have around 5 million such documents. I have problem with regular update of some of the fields in the document. So every update I need to delete and index that updated documents. This is a huge task. I know from version 2.1 lucene added update Document feature. But I think this is also just like my process(first delete and index). Is lucene supports the update of particular fields only, like database? ie:- without deleting the document Thanks, Sonu