Hi,

I am indexing a large number of documents and I am passing some extra pieces 
of identifiers for each of these at the indexing stage as Field.Text and 
Field.Keyword. Now if I want to update a piece of such identifier, what would 
be the best way to go about it ?

Say I have a document 'X.doc' for which the status was 'submitted'. Later on 
I want to update it to 'passed' or 'fail'. Is there a way to do this 
directly ? Or do I have to mark the original document as 'deleted' using a 
unique id (using the IndexReader.delete(Term()) method) and add the document 
again to the index like a new one ?

It would be nice if someone can give a small code snippet which works along 
the lines of the deleteContentDuplicates, but where the field is specifiable.

If I am able to update the index directly, it would be great, because I will 
end up saving the space needed for the new document, which is actually just a 
duplicate.

TIA,
Praveen.



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Nutch-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to