dcsimg
IndexWriter.addDocument() and IndexReader.delete() vs. updating the index
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nader_Henein
Posted On:   Sunday, March 17, 2002 08:52 PM

I was looking at the Lucence architecture and I was wondering if it would be better to use:
IndexWriter.addDocument() and IndexReader.delete() whenever a document is changed or
just to have periodic updates,I know that this depends on the nature of the application but my question is purly from a performance perspective

Re: IndexWriter.addDocument() and IndexReader.delete() vs. updating the index

Posted By:   Otis_Gospodnetic  
Posted On:   Monday, March 18, 2002 05:57 PM

Removing a document from the index and re-adding it is currently the only way to 'update' a document.
About | Sitemap | Contact