Re: Update lucene index

2010-10-12 Thread Nilesh Vijaywargiay
Thanks Anshum. Any one who used parallelReader, can yo provide me with a direction for this particular issue? May be a good example using parallelReader to solve this kind of problem would do. On Mon, Oct 11, 2010 at 11:34 PM, Anshum wrote: > ParallelReader though theoretically sounds useful,

Re: Update lucene index

2010-10-11 Thread Anshum
ParallelReader though theoretically sounds useful, I doubt if how much the overhead of maintaining and synchronizing the document ids would be. I haven't used it so far, perhaps someone who's used the ParallelReader for such a purpose on production environment/scale may help you. -- Anshum Gupta h

Re: Update lucene index

2010-10-11 Thread Nilesh Vijaywargiay
Anshum, Yea, I would like to do what you mentioned. The source won't be available at later time and also other reason I understand is that if I delete and add a document, it would get a different ID and would return inconsistent results later if I search index built on this documents. Does that mak

Re: Update lucene index

2010-10-11 Thread Anshum
So what you essentially want is still being able to update a document. To update a particular field in the lucene doc, you'd need to mark that field as updated/deleted and create a new document with new field information (that somehow gets merged while searching or gets taken care of in a similar m

Update lucene index

2010-10-11 Thread Nilesh Vijaywargiay
Hi Group, I understand that the process of updating a document in lucene index is to delete the document and add it again. But I do not want to delete the document. I was thinking of a approach where I can create a new index with only the fields I want to update. And then may be I can some how me