Question regarding Index Update

2007-07-09 Thread Sonu SR
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

Re: Question regarding Index Update

2007-07-09 Thread Erick Erickson
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: H

Re: Question regarding Index Update

2007-07-09 Thread Sonu SR
Thanks Erik. Is the field update is too difficult task in lucene? I expect this feature also in lucene, in near future. On 7/9/07, Erick Erickson <[EMAIL PROTECTED]> wrote: No, Lucene doesn't support just updating a field in a document. You must delete/re-add it as you suppose. And you are cor

Re: Question regarding Index Update

2007-07-09 Thread Erick Erickson
Then I think you'll be disappointed. Search the archive for phrases like "update in place" and you'll see a discussion of why this isn't as straight-forward as you might think. Best Erick On 7/9/07, Sonu SR <[EMAIL PROTECTED]> wrote: Thanks Erik. Is the field update is too difficult task in lu